37void Foam::meshReader::addCellZones(polyMesh&
mesh)
const
44void Foam::meshReader::addFaceZones(polyMesh&
mesh)
const
46 label nZone = monitoringSets_.size();
57 Info<<
"faceZone " << nZone
58 <<
" (size: " << iter().size() <<
") name: "
59 << iter.key() <<
endl;
88 Info<<
"Creating a polyMesh" <<
endl;
91 Info<<
"Number of internal faces: " << nInternalFaces_ <<
endl;
107 std::move(meshFaces_),
108 std::move(cellPolys_)
138void Foam::meshReader::clearExtraStorage()
141 baffleFaces_.clear();
142 boundaryIds_.clear();
145 pointCellsPtr_.reset(
nullptr);
154 const scalar scaleFactor
157 pointCellsPtr_(nullptr),
163 geometryFile_(fileOrPrefix),
164 scaleFactor_(scaleFactor),
170 patchPhysicalTypes_(0),
Defines the attributes of an object for which implicit objectRegistry management is supported,...
writeOption writeOpt() const noexcept
The write option.
The IOstreamOption is a simple container for options an IOstream can normally have.
const T * set(const label i) const
void setSize(const label newLen)
Same as resize()
const word & constant() const
Return constant name.
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
wordList names() const
A list of the zone names.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
void addCellZones(polyMesh &, const labelList &tableIds) const
Classify tableIds into cellZones according to the cellTable.
void writeMesh() const
Write equivalent mesh information at the polyMesh faceInstances time.
A class for handling file names.
virtual bool writeObject(IOstreamOption streamOpt, const bool valid) const
Write the underlying polyMesh and other data.
This class supports creating polyMeshes with baffles.
scalar scaleFactor_
Geometry scaling.
static void warnDuplicates(const word &context, const wordList &)
Warn about repeated names.
cellTable cellTable_
Cell table persistent data saved as a dictionary.
labelList cellTableId_
Cell table id for each cell.
Registry of regIOobjects.
const Time & time() const noexcept
Return time registry.
wordList names() const
Return a list of patch names.
Mesh consisting of general polyhedral cells.
const faceZoneMesh & faceZones() const noexcept
Return face zone mesh.
static word defaultRegion
Return the default region name.
void addPatches(polyPatchList &plist, const bool validBoundary=true)
Add boundary patches.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
const cellZoneMesh & cellZones() const noexcept
Return cell zone mesh.
void removeFiles(const fileName &instanceDir) const
Remove all files from mesh instance.
Foam::autoPtr< Foam::dynamicFvMesh > meshPtr
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define forAllConstIters(container, iter)
Iterate across all elements of the container object with const access.