Internal class used by the TRIsurfaceFormat. More...
Public Member Functions | |
TRIsurfaceFormatCore (const fileName &) | |
Read from file, filling in the information. More... | |
~TRIsurfaceFormatCore () | |
Destructor. More... | |
bool | sorted () const |
File read was already sorted. More... | |
void | clear () |
Flush all values. More... | |
pointField & | points () |
Return full access to the points. More... | |
List< label > & | zoneIds () |
Return full access to the zones. More... | |
List< label > & | sizes () |
The list of zone sizes in the order of their first appearance. More... | |
Public Member Functions inherited from surfaceFormatsCore | |
surfaceFormatsCore () | |
Construct null. More... | |
virtual | ~surfaceFormatsCore () |
Destructor. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from surfaceFormatsCore | |
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 inherited from surfaceFormatsCore | |
static word | nativeExt |
The file extension corresponding to 'native' surface format. More... | |
Static Protected Member Functions inherited from surfaceFormatsCore | |
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... | |
Internal class used by the TRIsurfaceFormat.
Definition at line 55 of file TRIsurfaceFormatCore.H.
TRIsurfaceFormatCore | ( | const fileName & | filename | ) |
Read from file, filling in the information.
Definition at line 35 of file TRIsurfaceFormatCore.C.
References Foam::blockMeshTools::read().
~TRIsurfaceFormatCore | ( | ) |
Destructor.
Definition at line 50 of file TRIsurfaceFormatCore.C.
References DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), TRIsurfaceFormatCore::clear(), HashTableCore::end(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, HashTable< T, Key, Hash >::find(), forAll, surfaceFormatsCore::getLineNoComment(), IOstream::good(), HashTable< T, Key, Hash >::insert(), lookup(), Foam::name(), p, Foam::readScalar(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::setCapacity(), List< T >::size(), and List< T >::transfer().
|
inline |
File read was already sorted.
Definition at line 99 of file TRIsurfaceFormatCore.H.
Referenced by TRIsurfaceFormat< Face >::read().
|
inline |
Flush all values.
Definition at line 105 of file TRIsurfaceFormatCore.H.
References List< T >::clear().
Referenced by TRIsurfaceFormatCore::~TRIsurfaceFormatCore().
|
inline |
Return full access to the points.
Definition at line 114 of file TRIsurfaceFormatCore.H.
Referenced by TRIsurfaceFormat< Face >::read().
Return full access to the zones.
Definition at line 120 of file TRIsurfaceFormatCore.H.
Referenced by TRIsurfaceFormat< Face >::read().
The list of zone sizes in the order of their first appearance.
Definition at line 126 of file TRIsurfaceFormatCore.H.
Referenced by TRIsurfaceFormat< Face >::read().