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... | |
![]() | |
surfaceFormatsCore () | |
Construct null. More... | |
virtual | ~surfaceFormatsCore () |
Destructor. More... | |
Private Member Functions | |
TRIsurfaceFormatCore (const TRIsurfaceFormatCore &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const TRIsurfaceFormatCore &) |
Disallow default bitwise assignment. More... | |
bool | read (const fileName &) |
Private Attributes | |
bool | sorted_ |
pointField | points_ |
The points supporting the facets. More... | |
List< label > | zoneIds_ |
The zones associated with the faces. More... | |
List< label > | sizes_ |
The solid count, in the order of their first appearance. More... | |
Additional Inherited Members | |
![]() | |
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 word | nativeExt |
The file extension corresponding to 'native' surface format. More... | |
![]() | |
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.
|
private |
Disallow default bitwise copy construct.
TRIsurfaceFormatCore | ( | const fileName & | filename | ) |
Read from file, filling in the information.
Definition at line 35 of file TRIsurfaceFormatCore.C.
References Foam::read().
~TRIsurfaceFormatCore | ( | ) |
Destructor.
Definition at line 50 of file TRIsurfaceFormatCore.C.
|
private |
Disallow default bitwise assignment.
|
private |
Definition at line 57 of file TRIsurfaceFormatCore.C.
References DynamicList::append(), clear(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, IOstream::good(), lookup(), Foam::name(), p, Foam::readScalar(), and DynamicList::setCapacity().
|
inline |
File read was already sorted.
Definition at line 99 of file TRIsurfaceFormatCore.H.
References TRIsurfaceFormatCore::sorted_.
Referenced by TRIsurfaceFormat< Face >::read().
|
inline |
Flush all values.
Definition at line 105 of file TRIsurfaceFormatCore.H.
References List::clear(), TRIsurfaceFormatCore::points_, TRIsurfaceFormatCore::sizes_, TRIsurfaceFormatCore::sorted_, and TRIsurfaceFormatCore::zoneIds_.
|
inline |
Return full access to the points.
Definition at line 114 of file TRIsurfaceFormatCore.H.
References TRIsurfaceFormatCore::points_.
Referenced by TRIsurfaceFormat< Face >::read().
Return full access to the zones.
Definition at line 120 of file TRIsurfaceFormatCore.H.
References TRIsurfaceFormatCore::zoneIds_.
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.
References TRIsurfaceFormatCore::sizes_.
Referenced by TRIsurfaceFormat< Face >::read().
|
private |
Definition at line 61 of file TRIsurfaceFormatCore.H.
Referenced by TRIsurfaceFormatCore::clear(), and TRIsurfaceFormatCore::sorted().
|
private |
The points supporting the facets.
Definition at line 64 of file TRIsurfaceFormatCore.H.
Referenced by TRIsurfaceFormatCore::clear(), and TRIsurfaceFormatCore::points().
The zones associated with the faces.
Definition at line 67 of file TRIsurfaceFormatCore.H.
Referenced by TRIsurfaceFormatCore::clear(), and TRIsurfaceFormatCore::zoneIds().
The solid count, in the order of their first appearance.
Definition at line 70 of file TRIsurfaceFormatCore.H.
Referenced by TRIsurfaceFormatCore::clear(), and TRIsurfaceFormatCore::sizes().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.