Internal class used by the STARCDsurfaceFormat. More...
#include <surfMesh/STARCDsurfaceFormatCore.H>
Internal class used by the STARCDsurfaceFormat.
Definition at line 54 of file STARCDsurfaceFormatCore.H.
Static Protected Member Functions | |
static bool | readHeader (IFstream &, const word &) |
static void | writeHeader (Ostream &, const char *filetype) |
static bool | readPoints (IFstream &, pointField &, labelList &ids) |
static void | writePoints (Ostream &, const pointField &) |
static void | writeCase (Ostream &, const pointField &, const label nFaces, const UList< surfZone > &) |
Definition at line 33 of file STARCDsurfaceFormatCore.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorIn, ISstream::getLine(), IOstream::good(), Foam::Info, and IFstream::name().
void writeHeader | ( | Ostream & | os, |
const char * | filetype | ||
) | [static, protected]
|
Definition at line 71 of file STARCDsurfaceFormatCore.C.
References Foam::endl(), and Foam::nl.
bool readPoints | ( | IFstream & | is, |
pointField & | points, | ||
labelList & | ids | ||
) | [static, protected]
|
Definition at line 90 of file STARCDsurfaceFormatCore.C.
References DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), Foam::exit(), Foam::FatalError, FatalErrorIn, IOstream::good(), IFstream::name(), List< T >::transfer(), and y.
void writePoints | ( | Ostream & | os, |
const pointField & | pointLst | ||
) | [static, protected]
|
Definition at line 136 of file STARCDsurfaceFormatCore.C.
References Ostream::flush(), forAll, Foam::nl, Ostream::precision(), and IOstream::setf().
void writeCase | ( | Ostream & | os, |
const pointField & | pointLst, | ||
const label | nFaces, | ||
const UList< surfZone > & | zoneLst | ||
) | [static, protected]
|
Definition at line 162 of file STARCDsurfaceFormatCore.C.
References Ostream::flush(), forAll, fileName::lessExt(), fileName::name(), IOstream::name(), Foam::nl, and List< T >::size().