42 #ifndef STARCDMeshReader_H 43 #define STARCDMeshReader_H 93 virtual bool readGeometry(
const scalar scaleFactor = 1.0);
157 const scalar scaleFactor = 1.0
static const char *const defaultSolidBoundaryName
static const char *const defaultBoundaryName
A class for handling file names.
void readAux(const objectRegistry &)
Read auxiliary data from constant/{boundaryRegion,cellTable}.
virtual ~STARCD()
Destructor.
labelList mapToFoamCellId_
Cell labels (imported Cell numbering not necessarily contiguous)
void operator=(const STARCD &)=delete
Disallow default bitwise assignment.
static const int starToFoamFaceAddr[4][6]
Face addressing from pro-STAR faces -> OpenFOAM faces.
virtual bool readGeometry(const scalar scaleFactor=1.0)
Read the mesh from the file(s)
static void readToNewline(IFstream &)
Read and discard to newline.
virtual void readCells(const fileName &)
Read cell connectivities from file.
Read pro-STAR vrt/cel/bnd files. The protected data in meshReader are filled.
A class for handling words, derived from string.
boundaryRegion boundaryRegion_
Boundary region data.
static bool readHeader(IFstream &, word fileSignature)
Read header.
void readPoints(const fileName &, const scalar scaleFactor)
Read points from file.
labelList mapToFoamPointId_
Point labels (imported Point numbering not necessarily contiguous)
cellShapeList cellShapes_
Cell shapes.
Registry of regIOobjects.
The boundaryRegion persistent data saved as a Map<dictionary>.
void readBoundary(const fileName &)
Read boundary (cell/face) definitions.
STARCD(const fileName &prefix, const objectRegistry &, const scalar scaleFactor=1.0)
Construct from case name.
static bool keepSolids
Keep solids (default false)
This class supports creating polyMeshes with baffles.
void cullPoints()
Remove unused points.