FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

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

#include <surfMesh/surfaceFormatsCore.H>


Detailed Description

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

Source files

Definition at line 61 of file surfaceFormatsCore.H.

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.

Constructor & Destructor Documentation

Construct null.

Definition at line 190 of file surfaceFormatsCore.C.

~surfaceFormatsCore (  ) [virtual]

Definition at line 196 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 69 of file surfaceFormatsCore.H.

References Foam::name().

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

Read non-comment line.

Definition at line 41 of file surfaceFormatsCore.C.

References ISstream::getLine(), and IOstream::good().

bool checkSupport ( const wordHashSet &   available,
const word &   ext,
const bool   verbose,
const word &   functionName  
) [static]
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 87 of file surfaceFormatsCore.H.


The documentation for this class was generated from the following files: