Static Protected Member Functions | List of all members
STARCDsurfaceFormatCore Class Reference

Internal class used by the STARCDsurfaceFormat. More...

Inheritance diagram for STARCDsurfaceFormatCore:
Inheritance graph
[legend]
Collaboration diagram for STARCDsurfaceFormatCore:
Collaboration graph
[legend]

Static Protected Member Functions

static Map< wordreadInpCellTable (ISstream &is)
 
static void writeCase (Ostream &os, const UList< point > &pts, const label nFaces, const UList< surfZone > &zoneLst)
 
- Static Protected Member Functions inherited from STARCDCore
static bool readHeader (IFstream &is, const enum fileHeader header)
 
static void writeHeader (Ostream &os, const enum fileHeader header)
 

Additional Inherited Members

- Public Types inherited from STARCDCore
enum  fileHeader { HEADER_CEL, HEADER_VRT, HEADER_BND }
 
enum  fileExt { CEL_FILE, VRT_FILE, BND_FILE, INP_FILE }
 
enum  matlType {
  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
}
 
- Static Public Member Functions inherited from STARCDCore
static fileName starFileName (const fileName &baseName, const enum fileExt ext)
 
static void removeFiles (const fileName &baseName)
 
static label readPoints (IFstream &is, List< point > &points, List< label > &ids)
 
static void writePoints (Ostream &os, const UList< point > &points, const scalar scaleFactor=1.0)
 
- Static Public Attributes inherited from STARCDCore
static const char *const defaultBoundaryName
 
static const char *const defaultSolidBoundaryName
 
- Protected Member Functions inherited from STARCDCore
 STARCDCore ()=default
 
- Static Protected Attributes inherited from STARCDCore
static const Map< FixedList< int, 6 > > starToFoamFaceAddr
 
static const Map< FixedList< int, 6 > > foamToStarFaceAddr
 

Detailed Description

Internal class used by the STARCDsurfaceFormat.

Source files

Definition at line 51 of file STARCDsurfaceFormatCore.H.

Member Function Documentation

◆ readInpCellTable()

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

Definition at line 35 of file STARCDsurfaceFormatCore.C.

References ISstream::getLine(), IOstream::good(), regExpPosix::match(), Foam::readLabel(), SubStrings::str(), and word::validate().

Here is the call graph for this function:

◆ writeCase()

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

Definition at line 76 of file STARCDsurfaceFormatCore.C.

References clock::dateTime(), forAll, Foam::nl, os(), and UList::size().

Here is the call graph for this function:

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