STARCDsurfaceFormatCore Class Reference

Internal class used by the STARCDsurfaceFormat. More...

Inheritance diagram for STARCDsurfaceFormatCore:
Collaboration diagram for STARCDsurfaceFormatCore:

Static Protected Member Functions

static Map< wordreadInpCellTable (IFstream &)
 
static void writeCase (Ostream &, const pointField &, const label nFaces, const UList< surfZone > &)
 
- Static Protected Member Functions inherited from STARCDCore
static bool readHeader (IFstream &, const word &fileSignature)
 Read header. More...
 
static void writeHeader (Ostream &, const word &fileType)
 Write header for fileType (CELL|VERTEX|BOUNDARY) More...
 

Additional Inherited Members

- Public Member Functions inherited from STARCDCore
 STARCDCore ()
 Construct null. More...
 
- Static Public Member Functions inherited from STARCDCore
static bool readPoints (IFstream &, pointField &, labelList &ids)
 Read points from a (.vrt) file. More...
 
static void writePoints (Ostream &, const pointField &)
 Write header and points to (.vrt) file. More...
 
- Protected Types inherited from STARCDCore
enum  cellType {
  starcdFluidType = 1 , starcdSolidType = 2 , starcdBaffleType = 3 , starcdShellType = 4 ,
  starcdLineType = 5 , starcdPointType = 6
}
 
enum  shapeType {
  starcdPoint = 1 , starcdLine = 2 , starcdShell = 3 , starcdHex = 11 ,
  starcdPrism = 12 , starcdTet = 13 , starcdPyr = 14 , starcdPoly = 255
}
 

Detailed Description

Internal class used by the STARCDsurfaceFormat.

Source files

Definition at line 54 of file STARCDsurfaceFormatCore.H.

Member Function Documentation

◆ readInpCellTable()

Foam::Map< Foam::word > readInpCellTable ( IFstream is)
staticprotected

Definition at line 38 of file STARCDsurfaceFormatCore.C.

References ISstream::getLine(), IOstream::good(), HashTable< T, Key, Hash >::insert(), and regExp::match().

Here is the call graph for this function:

◆ writeCase()

void writeCase ( Ostream os,
const pointField pointLst,
const label  nFaces,
const UList< surfZone > &  zoneLst 
)
staticprotected

Definition at line 77 of file STARCDsurfaceFormatCore.C.

References clock::dateTime(), Ostream::flush(), forAll, fileName::lessExt(), IOstream::name(), fileName::name(), Foam::nl, and List< T >::size().

Here is the call graph for this function:

The documentation for this class was generated from the following files: