OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

surfaceFormatsCore Class Reference

A collection of helper functions for reading/writing surface formats. More...

Inheritance diagram for surfaceFormatsCore:
Collaboration diagram for surfaceFormatsCore:

List of all members.


Public Member Functions

 surfaceFormatsCore ()
 Construct null.
virtual ~surfaceFormatsCore ()

Static Public Member Functions

static bool checkSupport (const wordHashSet &available, const word &ext, const bool verbose, const word &functionName)
static fileName localMeshFileName (const word &surfName="")
 Return the local file name (within time directory).
static fileName findMeshInstance (const Time &, const word &surfName="")
 Find instance with surfName.
static fileName findMeshFile (const Time &, const word &surfName="")
 Find mesh file with surfName.

Static Public Attributes

static word nativeExt
 The file extension corresponding to 'native' surface format.

Static Protected Member Functions

template<class Container >
static List< surfZone > oneZone (const Container &container, const word &name="zone0")
 Return a list with a single entry,.
static string getLineNoComment (IFstream &)
 Read non-comment line.

Detailed Description

A collection of helper functions for reading/writing surface formats.

Source files

Definition at line 56 of file surfaceFormatsCore.H.


Constructor & Destructor Documentation

Construct null.

Definition at line 182 of file surfaceFormatsCore.C.

~surfaceFormatsCore (  )  [virtual]

Definition at line 188 of file surfaceFormatsCore.C.


Member Function Documentation

static List<surfZone> oneZone ( const Container &  container,
const word &  name = "zone0" 
) [inline, static, protected]

Return a list with a single entry,.

the size corresponds to that of the container

Definition at line 66 of file surfaceFormatsCore.H.

References Foam::name().

Here is the call graph for this function:

Foam::string getLineNoComment ( IFstream &  is  )  [static, protected]

Read non-comment line.

Definition at line 33 of file surfaceFormatsCore.C.

bool checkSupport ( const wordHashSet &  available,
const word &  ext,
const bool  verbose,
const word &  functionName 
) [static]

Definition at line 149 of file surfaceFormatsCore.C.

static fileName localMeshFileName ( const word &  surfName = ""  )  [static]

Return the local file name (within time directory).

NEEDS FIXING

static fileName findMeshInstance ( const Time &  ,
const word &  surfName = "" 
) [static]

Find instance with surfName.

NEEDS FIXING

static fileName findMeshFile ( const Time &  ,
const word &  surfName = "" 
) [static]

Find mesh file with surfName.

NEEDS FIXING


Member Data Documentation

The file extension corresponding to 'native' surface format.

Normally "ofs" (mnemonic: OF = OpenFOAM, S = Surface)

Definition at line 86 of file surfaceFormatsCore.H.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd