Public Member Functions | Static Public Member Functions | Static Public Attributes | Static Protected Member Functions | List of all members
surfaceFormatsCore Class Reference

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

Inheritance diagram for surfaceFormatsCore:
Inheritance graph
[legend]
Collaboration diagram for surfaceFormatsCore:
Collaboration graph
[legend]

Public Member Functions

 surfaceFormatsCore ()
 Construct null. More...
 
virtual ~surfaceFormatsCore ()
 Destructor. More...
 

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) More...
 
static fileName findMeshInstance (const Time &, const word &surfName="")
 Find instance with surfName. More...
 
static fileName findMeshFile (const Time &, const word &surfName="")
 Find mesh file with surfName. More...
 

Static Public Attributes

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

Static Protected Member Functions

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

Detailed Description

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

Source files

Definition at line 60 of file surfaceFormatsCore.H.

Constructor & Destructor Documentation

Construct null.

Definition at line 190 of file surfaceFormatsCore.C.

Referenced by surfaceFormatsCore::oneZone().

Here is the caller graph for this function:

~surfaceFormatsCore ( )
virtual

Destructor.

Definition at line 196 of file surfaceFormatsCore.C.

Referenced by surfaceFormatsCore::oneZone().

Here is the caller graph for this function:

Member Function Documentation

static List<surfZone> oneZone ( const Container &  container,
const word name = "zone0" 
)
inlinestaticprotected
Foam::string getLineNoComment ( IFstream is)
staticprotected
bool checkSupport ( const wordHashSet available,
const word ext,
const bool  verbose,
const word functionName 
)
static

Definition at line 157 of file surfaceFormatsCore.C.

References Foam::endl(), forAll, HashTable< T, Key, Hash >::found(), Foam::Info, Foam::nl, HashTable< T, Key, Hash >::toc(), and List< T >::xfer().

Referenced by surfaceFormatsCore::getLineNoComment(), and surfaceFormatsCore::oneZone().

Here is the call graph for this function:

Here is the caller graph for this function:

static fileName localMeshFileName ( const word surfName = "")
static

Return the local file name (within time directory)

NEEDS FIXING

Referenced by surfaceFormatsCore::getLineNoComment(), and surfaceFormatsCore::oneZone().

Here is the caller graph for this function:

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

Find instance with surfName.

NEEDS FIXING

Referenced by surfaceFormatsCore::getLineNoComment(), and surfaceFormatsCore::oneZone().

Here is the caller graph for this function:

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

Find mesh file with surfName.

NEEDS FIXING

Referenced by surfaceFormatsCore::getLineNoComment(), and surfaceFormatsCore::oneZone().

Here is the caller graph for this function:

Member Data Documentation

Foam::word nativeExt
static

The file extension corresponding to 'native' surface format.

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

Definition at line 86 of file surfaceFormatsCore.H.

Referenced by surfaceFormatsCore::getLineNoComment(), and surfaceFormatsCore::oneZone().


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