A collection of helper functions for reading/writing surface formats. More...
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< surfZone > | oneZone (const Container &container, const word &name="zone0") |
Return a list with a single entry,. More... | |
static string | getLineNoComment (IFstream &) |
Read non-comment line. More... | |
A collection of helper functions for reading/writing surface formats.
Definition at line 60 of file surfaceFormatsCore.H.
Construct null.
Definition at line 190 of file surfaceFormatsCore.C.
|
virtual |
Destructor.
Definition at line 196 of file surfaceFormatsCore.C.
|
inlinestaticprotected |
Return a list with a single entry,.
the size corresponds to that of the container
Definition at line 68 of file surfaceFormatsCore.H.
References Foam::name().
|
staticprotected |
Read non-comment line.
Definition at line 41 of file surfaceFormatsCore.C.
References ISstream::getLine(), and IOstream::good().
|
static |
Definition at line 157 of file surfaceFormatsCore.C.
References Foam::endl(), forAll, HashTable::found(), Foam::Info, Foam::nl, HashTable::toc(), and List::xfer().
Return the local file name (within time directory)
NEEDS FIXING
Find instance with surfName.
NEEDS FIXING
Find mesh file with surfName.
NEEDS FIXING
|
static |
The file extension corresponding to 'native' surface format.
Normally "ofs" (mnemonic: OF = OpenFOAM, S = Surface)
Definition at line 86 of file surfaceFormatsCore.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.