Internal class used by the STARCDsurfaceFormat. More...
Static Protected Member Functions | |
static Map< word > | readInpCellTable (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) |
Read header and check signature PROSTAR_(CELL|VERTEX|BOUNDARY) More... | |
static void | writeHeader (Ostream &os, const enum fileHeader header) |
Write header for fileType (CELL|VERTEX|BOUNDARY) More... | |
Additional Inherited Members | |
Public Types inherited from STARCDCore | |
enum | fileHeader { HEADER_CEL, HEADER_VRT, HEADER_BND } |
Enumeration defining the file headers. More... | |
enum | fileExt { CEL_FILE, VRT_FILE, BND_FILE, INP_FILE } |
Enumeration defining the file extensions. More... | |
enum | matlType { starcdFluidType = 1, starcdSolidType = 2, starcdBaffleType = 3, starcdShellType = 4, starcdLineType = 5, starcdPointType = 6 } |
Basic material type for STARCD/PROSTAR files. More... | |
enum | shapeType { starcdPoint = 1, starcdLine = 2, starcdShell = 3, starcdHex = 11, starcdPrism = 12, starcdTet = 13, starcdPyr = 14, starcdPoly = 255 } |
Shape-Type for STARCD/PROSTAR files. More... | |
Static Public Member Functions inherited from STARCDCore | |
static fileName | starFileName (const fileName &baseName, const enum fileExt ext) |
Resolve base file-name for the given file-type. More... | |
static void | removeFiles (const fileName &baseName) |
Remove existing PROSTAR files for the given base file-name. More... | |
static label | readPoints (IFstream &is, List< point > &points, List< label > &ids) |
Read points from a (.vrt) file, return the max prostar id used. More... | |
static void | writePoints (Ostream &os, const UList< point > &points, const scalar scaleFactor=1.0) |
Write header and points to (.vrt) file, optionally with scaling. More... | |
Static Public Attributes inherited from STARCDCore | |
static const char *const | defaultBoundaryName |
The name for default (unassigned) boundaries. More... | |
static const char *const | defaultSolidBoundaryName |
The name we have chosen for default (unassigned) solid boundaries. More... | |
Protected Member Functions inherited from STARCDCore | |
STARCDCore ()=default | |
Construct null. More... | |
Static Protected Attributes inherited from STARCDCore | |
static const Map< FixedList< int, 6 > > | starToFoamFaceAddr |
Face addressing from PROSTAR faces to OpenFOAM faces. More... | |
static const Map< FixedList< int, 6 > > | foamToStarFaceAddr |
Face addressing from OpenFOAM faces to PROSTAR faces. More... | |
Internal class used by the STARCDsurfaceFormat.
Definition at line 51 of file STARCDsurfaceFormatCore.H.
|
staticprotected |
Definition at line 35 of file STARCDsurfaceFormatCore.C.
References ISstream::getLine(), IOstream::good(), regExpPosix::match(), Foam::readLabel(), SubStrings< StringType >::str(), and word::validate().
|
staticprotected |
Definition at line 76 of file STARCDsurfaceFormatCore.C.
References clock::dateTime(), forAll, Foam::nl, os(), and pts.