A collection of helper functions for reading/writing surface formats. More...
#include <surfMesh/surfaceFormatsCore.H>
A collection of helper functions for reading/writing surface formats.
Definition at line 61 of file surfaceFormatsCore.H.
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.
|
Construct null.
Definition at line 190 of file surfaceFormatsCore.C.
~surfaceFormatsCore | ( | ) | [virtual]
|
Definition at line 196 of file surfaceFormatsCore.C.
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]
|
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().
Return the local file name (within time directory)
NEEDS FIXING
Find instance with surfName.
NEEDS FIXING
Find mesh file with surfName.
NEEDS FIXING
Foam::word nativeExt [static]
|
The file extension corresponding to 'native' surface format.
Normally "ofs" (mnemonic: OF = OpenFOAM, S = Surface)
Definition at line 87 of file surfaceFormatsCore.H.