Go to the documentation of this file.
78 label nZone = monitoringSets_.size();
90 iter = monitoringSets_.begin();
91 iter != monitoringSets_.end();
95 Info<<
"faceZone " << nZone
96 <<
" (size: " << iter().size() <<
") name: "
97 << iter.key() <<
endl;
126 Info<<
"Creating a polyMesh" <<
endl;
129 Info<<
"Number of internal faces: " << nInternalFaces_ <<
endl;
131 createPolyBoundary();
155 addCellZones(
mesh());
156 addFaceZones(
mesh());
184 baffleFaces_.clear();
185 boundaryIds_.clear();
197 const scalar scaleFactor
200 pointCellsPtr_(NULL),
208 geometryFile_(fileOrPrefix),
209 scaleFactor_(scaleFactor),
215 patchPhysicalTypes_(0),
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
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.
static word defaultRegion
Return the default region name.
Template functions to aid in the implementation of demand driven data.
static const cellModel * pyrModel
const Time & time() const
Return time.
static const cellModel * unknownModel
Pointers to cell shape models.
Ostream & endl(Ostream &os)
Add newline and flush stream.
labelList cellTableId_
Cell table id for each cell.
static const versionNumber currentVersion
Current version number.
cellTable cellTable_
Cell table persistent data saved as a dictionary.
Mesh consisting of general polyhedral cells.
const faceZoneMesh & faceZones() const
Return face zone mesh.
Registry of regIOobjects.
void deleteDemandDrivenData(DataPtr &dataPtr)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A subset of mesh faces organised as a primitive patch.
meshReader(const meshReader &)
Disallow default bitwise copy construct.
static const cellModel * lookup(const word &)
Look up a model by name and return a pointer to the model or NULL.
void clearExtraStorage()
Clear extra storage before creation of the mesh to remove.
void removeFiles(const fileName &instanceDir) const
Remove all files from mesh instance.
static const cellModel * tetModel
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.
wordList names() const
Return a list of zone names.
An STL-conforming hash table.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Hashing function class, shared by all the derived classes.
Xfer< T > xferMove(T &)
Construct by transferring the contents of the arg.
virtual bool writeObject(IOstream::streamFormat fmt, IOstream::versionNumber ver, IOstream::compressionType cmp) const
Write the objects.
void addPatches(const List< polyPatch * > &, const bool validBoundary=true)
Add boundary patches.
const word & constant() const
Return constant name.
Addressing for all faces on surface of mesh. Can either be read from polyMesh or from triSurface....
Maps a geometry to a set of cell primitives, which enables geometric cell data to be calculated witho...
static const cellModel * prismModel
void writeMesh(const polyMesh &, IOstream::streamFormat fmt=IOstream::BINARY) const
Write mesh.
void addCellZones(polyMesh &, const labelList &tableIds) const
Classify tableIds into cellZones according to the cellTable.
streamFormat
Enumeration for the format of data in the stream.