69 void Foam::meshReader::addCellZones(polyMesh&
mesh)
const
76 void Foam::meshReader::addFaceZones(polyMesh& mesh)
const
78 label nZone = monitoringSets_.size();
79 mesh.faceZones().setSize(nZone);
89 HashTable<List<label>, word, string::hash>::const_iterator
90 iter = monitoringSets_.begin();
91 iter != monitoringSets_.end();
95 Info<<
"faceZone " << nZone
96 <<
" (size: " << iter().size() <<
") name: "
97 << iter.key() <<
endl;
106 List<bool>(iter().size(),
false),
115 warnDuplicates(
"faceZones", mesh.faceZones().names());
126 Info<<
"Creating a polyMesh" <<
endl;
129 Info<<
"Number of internal faces: " << nInternalFaces_ <<
endl;
131 createPolyBoundary();
155 addCellZones(
mesh());
156 addFaceZones(
mesh());
181 void Foam::meshReader::clearExtraStorage()
184 baffleFaces_.clear();
185 boundaryIds_.clear();
194 Foam::meshReader::meshReader
197 const scalar scaleFactor
200 pointCellsPtr_(NULL),
208 geometryFile_(fileOrPrefix),
209 scaleFactor_(scaleFactor),
215 patchPhysicalTypes_(0),