A list of mesh zones. More...
Public Member Functions | |
ZoneMesh (const IOobject &io, const MeshType &mesh) | |
ZoneMesh (const IOobject &io, const MeshType &mesh, const label size) | |
ZoneMesh (const IOobject &io, const MeshType &mesh, const PtrList< ZoneType > &pzm) | |
~ZoneMesh () | |
const MeshType & | mesh () const noexcept |
const Map< label > & | zoneMap () const |
label | whichZone (const label objectIndex) const |
wordList | types () const |
wordList | names () const |
wordList | names (const wordRe &matcher) const |
wordList | names (const wordRes &matcher) const |
wordList | sortedNames () const |
wordList | sortedNames (const wordRe &matcher) const |
wordList | sortedNames (const wordRes &matcher) const |
labelList | indices (const wordRe &matcher, const bool useGroups=true) const |
labelList | indices (const wordRes &matcher, const bool useGroups=true) const |
label | findIndex (const wordRe &key) const |
label | findIndex (const wordRes &matcher) const |
label | findZoneID (const word &zoneName) const |
const ZoneType * | cfindZone (const word &zoneName) const |
ZoneType * | findZone (const word &zoneName) |
bitSet | selection (const labelUList &zoneIds) const |
bitSet | selection (const wordRe &matcher, const bool useGroups=true) const |
bitSet | selection (const wordRes &matcher, const bool useGroups=true) const |
const HashTable< labelList > & | groupZoneIDs () const |
void | setGroup (const word &groupName, const labelUList &zoneIDs) |
bool | checkDefinition (const bool report=false) const |
bool | checkParallelSync (const bool report=false) const |
void | movePoints (const pointField &pts) |
void | clearAddressing () |
void | clear () |
bool | hasFaceAreas () const |
const ZoneType & | operator[] (const word &zoneName) const |
ZoneType & | operator[] (const word &zoneName) |
ZoneType & | operator() (const word &zoneName, const bool verbose=false) |
void | updateMetaData () |
bool | writeData (Ostream &os) const |
labelList | findIndices (const wordRes &key) const |
Static Public Attributes | |
static int | disallowGenericZones |
Friends | |
Ostream & | operator (Ostream &os, const ZoneMesh< ZoneType, MeshType > &zones) |
Definition at line 200 of file ZoneMesh.C.
Definition at line 215 of file ZoneMesh.C.
Definition at line 232 of file ZoneMesh.C.
~ZoneMesh | ( | ) |
Definition at line 259 of file ZoneMesh.C.
|
inlinenoexcept |
Definition at line 138 of file ZoneMesh.H.
const Foam::Map< Foam::label > & zoneMap | ( | ) | const |
Definition at line 269 of file ZoneMesh.C.
Foam::label whichZone | ( | const label | objectIndex | ) | const |
Definition at line 282 of file ZoneMesh.C.
Referenced by cyclicAMIPolyPatch::addAMIFaces(), meshRefinement::mergeBaffles(), polyMeshAdder::mergePoints(), removeCells::setRefinement(), perfectInterface::setRefinement(), and edgeCollapser::setRefinement().
Foam::wordList types | ( | ) | const |
Definition at line 291 of file ZoneMesh.C.
Foam::wordList names | ( | ) | const |
Definition at line 298 of file ZoneMesh.C.
Referenced by preserveFaceZones::add(), surfaceZonesInfo::addCellZonesToMesh(), surfaceZonesInfo::addFaceZonesToMesh(), preserveFaceZones::apply(), meshRefinement::checkCoupledFaceZones(), extractEulerianParticles::checkFaceZone(), dynamicMultiMotionSolverFvMesh::init(), fvMeshTools::newMesh(), cellTable::operator=(), multiphaseMangrovesTurbulenceModel::read(), sizeDistribution::setCellZoneCells(), and displacementLayeredMotionMotionSolver::solve().
Foam::wordList names | ( | const wordRe & | matcher | ) | const |
Definition at line 306 of file ZoneMesh.C.
Foam::wordList names | ( | const wordRes & | matcher | ) | const |
Definition at line 316 of file ZoneMesh.C.
Foam::wordList sortedNames | ( | ) | const |
Definition at line 326 of file ZoneMesh.C.
Foam::wordList sortedNames | ( | const wordRe & | matcher | ) | const |
Definition at line 337 of file ZoneMesh.C.
Foam::wordList sortedNames | ( | const wordRes & | matcher | ) | const |
Definition at line 350 of file ZoneMesh.C.
Referenced by ZoneMesh< cellZone, polyMesh >::findIndices(), multiphaseMangrovesTurbulenceModel::read(), and sampledFaceZone::zoneIDs().
Foam::label findIndex | ( | const wordRe & | key | ) | const |
Definition at line 484 of file ZoneMesh.C.
Referenced by sampledCuttingPlane::sampledCuttingPlane(), sampledInterface::sampledInterface(), sampledIsoSurface::sampledIsoSurface(), and sampledPlane::sampledPlane().
Foam::label findIndex | ( | const wordRes & | matcher | ) | const |
Definition at line 498 of file ZoneMesh.C.
Foam::label findZoneID | ( | const word & | zoneName | ) | const |
Definition at line 512 of file ZoneMesh.C.
Referenced by surfaceZonesInfo::addCellZone(), surfaceZonesInfo::addFaceZone(), cellZoneSet::cellZoneSet(), extractEulerianParticles::checkFaceZone(), FaceInteraction< CloudType >::FaceInteraction(), FacePostProcessing< CloudType >::FacePostProcessing(), faceZoneSet::faceZoneSet(), dynamicMultiMotionSolverFvMesh::init(), pointZoneSet::pointZoneSet(), powerLawLopesdaCostaZone::powerLawLopesdaCostaZone(), RemoveParcels< CloudType >::RemoveParcels(), sizeDistribution::setCellZoneCells(), displacementLayeredMotionMotionSolver::solve(), cellZoneSet::writeObject(), pointZoneSet::writeObject(), faceZoneSet::writeObject(), zeroATCcells::zeroATCcells(), and meshRefinement::zonify().
const ZoneType * cfindZone | ( | const word & | zoneName | ) | const |
Definition at line 546 of file ZoneMesh.C.
ZoneType * findZone | ( | const word & | zoneName | ) |
Definition at line 582 of file ZoneMesh.C.
Foam::bitSet selection | ( | const labelUList & | zoneIds | ) | const |
Definition at line 592 of file ZoneMesh.C.
const Foam::HashTable< Foam::labelList > & groupZoneIDs | ( | ) | const |
Definition at line 646 of file ZoneMesh.C.
void setGroup | ( | const word & | groupName, |
const labelUList & | zoneIDs | ||
) |
Definition at line 659 of file ZoneMesh.C.
Definition at line 726 of file ZoneMesh.C.
Definition at line 745 of file ZoneMesh.C.
void movePoints | ( | const pointField & | pts | ) |
Definition at line 821 of file ZoneMesh.C.
void clearAddressing | ( | ) |
Definition at line 702 of file ZoneMesh.C.
Referenced by interRegionExplicitPorositySource::initialise(), polyMesh::updateMesh(), cellZoneSet::writeObject(), pointZoneSet::writeObject(), and faceZoneSet::writeObject().
void clear | ( | ) |
Definition at line 717 of file ZoneMesh.C.
Referenced by polyMeshAdder::add(), cellTable::addCellZones(), blockMesh::mesh(), and fvMeshTools::newMesh().
|
inline |
Definition at line 266 of file ZoneMesh.H.
Definition at line 860 of file ZoneMesh.C.
Definition at line 880 of file ZoneMesh.C.
Definition at line 900 of file ZoneMesh.C.
void updateMetaData | ( | ) |
Definition at line 833 of file ZoneMesh.C.
Definition at line 849 of file ZoneMesh.C.
Definition at line 324 of file ZoneMesh.H.
|
static |
Definition at line 102 of file ZoneMesh.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.