Go to the documentation of this file.
135 os <<
"(" << cf.cell <<
"/" << cf.face <<
")";
193 const label cellFaceId,
194 const label nCreatedFaces
201 const label nCreatedFaces
227 const word& propertyName,
291 virtual bool readGeometry(
const scalar scaleFactor = 1.0) = 0;
bool used() const
Used if cell or face are non-negative.
void addPolyBoundaryFace(const label cellId, const label cellFaceId, const label nCreatedFaces)
Add in boundary face.
static void warnDuplicates(const word &context, const wordList &)
Warn about repeated names.
void addCellZones(polyMesh &) const
Add cellZones based on cellTable Id.
A class for handling words, derived from string.
A class for handling file names.
cellList cellPolys_
Cells as polyhedra for polyMesh.
cellFaceIdentifier()
Construct null.
HashTable< List< label >, word, string::hash > monitoringSets_
Face sets for monitoring.
virtual bool readGeometry(const scalar scaleFactor=1.0)=0
Subclasses are required to supply this information.
void createPolyBoundary()
Make polyhedral boundary from shape boundary.
wordList patchNames_
Boundary patch names.
static const cellModel * pyrModel
labelList patchStarts_
Polyhedral mesh boundary patch start indices and dimensions.
static const cellModel * unknownModel
Pointers to cell shape models.
wordList patchTypes_
Boundary patch types.
Identify cell faces in terms of cell Id and face Id.
wordList patchPhysicalTypes_
Boundary patch physical types.
List< List< cellFaceIdentifier > > baffleIds_
List of cells/faces id pairs for each baffle.
labelList cellTableId_
Cell table id for each cell.
List< List< cellFaceIdentifier > > boundaryIds_
Identify boundary faces by cells and their faces.
void writeInterfaces(const objectRegistry &) const
cellTable cellTable_
Cell table persistent data saved as a dictionary.
faceList baffleFaces_
List of each baffle face.
bool operator==(const cellFaceIdentifier &cf) const
const labelListList & pointCells() const
Mesh consisting of general polyhedral cells.
cellFaceIdentifier(label c, label f)
Construct from cell/face components.
labelList origCellId_
Lookup original Cell number for a given cell.
Registry of regIOobjects.
bool operator!=(const cellFaceIdentifier &cf) const
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void operator=(const meshReader &)
Disallow default bitwise assignment.
Pre-declare SubField and related Field type.
List< labelPair > interfaces_
Association between two faces.
meshReader(const meshReader &)
Disallow default bitwise copy construct.
void clearExtraStorage()
Clear extra storage before creation of the mesh to remove.
The cellTable persistent data saved as a Map<dictionary>.
static const cellModel * tetModel
scalar scaleFactor_
Geometry scaling.
bool unused() const
Unused if cell or face are negative.
void addFaceZones(polyMesh &) const
Add faceZones based on monitoring boundary conditions.
virtual autoPtr< polyMesh > mesh(const objectRegistry &)
Create and return polyMesh.
static const cellModel * hexModel
virtual ~meshReader()
Destructor.
void calcPointCells() const
Calculate pointCells.
An STL-conforming hash table.
faceList meshFaces_
Global face list for polyMesh.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
void writeMeshLabelList(const objectRegistry ®istry, const word &propertyName, const labelList &list, IOstream::streamFormat fmt=IOstream::ASCII) const
Write List<label> in constant/polyMesh.
This class supports creating polyMeshes with baffles.
Hashing function class, shared by all the derived classes.
void writeAux(const objectRegistry &) const
Write auxiliary information.
labelListList * pointCellsPtr_
Point-cell addressing. Used for topological analysis.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
fileName geometryFile_
Referenced filename.
const dimensionedScalar c
Speed of light in a vacuum.
A face is a list of labels corresponding to mesh vertices.
Maps a geometry to a set of cell primitives, which enables geometric cell data to be calculated witho...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
static const cellModel * prismModel
pointField points_
Points supporting the mesh.
faceListList & cellFaces() const
Return list of faces for every cell.
A cell is defined as a list of faces with extra functionality.
label nInternalFaces_
Number of internal faces for polyMesh.
void writeMesh(const polyMesh &, IOstream::streamFormat fmt=IOstream::BINARY) const
Write mesh.
List< polyPatch * > polyBoundaryPatches(const polyMesh &)
Add polyhedral boundary.
void createPolyCells()
Make polyhedral cells and global faces if the mesh is polyhedral.
streamFormat
Enumeration for the format of data in the stream.
faceListList cellFaces_
List of faces for every cell.