A list of face labels. More...
#include <meshTools/faceSet.H>
A list of face labels.
Definition at line 49 of file faceSet.H.
Public Member Functions | |
TypeName ("faceSet") | |
Runtime type information.
| |
faceSet (const IOobject &obj) | |
Construct from IOobject.
| |
faceSet (const polyMesh &mesh, const word &name, readOption r=MUST_READ, writeOption w=NO_WRITE) | |
Construct from objectRegistry and name.
| |
faceSet (const polyMesh &mesh, const word &name, const label, writeOption w=NO_WRITE) | |
Construct from additional size of labelHashSet.
| |
faceSet (const polyMesh &mesh, const word &name, const topoSet &, writeOption w=NO_WRITE) | |
Construct from existing set.
| |
faceSet (const polyMesh &mesh, const word &name, const labelHashSet &, writeOption w=NO_WRITE) | |
Construct from additional labelHashSet.
| |
virtual | ~faceSet () |
virtual void | sync (const polyMesh &mesh) |
Sync faceSet across coupled patches.
| |
virtual label | maxSize (const polyMesh &mesh) const |
Return max index+1.
| |
virtual void | updateMesh (const mapPolyMesh &morphMap) |
Update any stored data for new labels.
| |
virtual void | writeDebug (Ostream &os, const primitiveMesh &, const label maxLen) const |
Write maxLen items with label and coordinates.
|
faceSet | ( | const polyMesh & | mesh, |
const word & | name, | ||
readOption | r = MUST_READ ,
|
||
writeOption | w = NO_WRITE
|
||
) |
Construct from objectRegistry and name.
Definition at line 57 of file faceSet.C.
References primitiveMesh::nFaces().
faceSet | ( | const polyMesh & | mesh, |
const word & | name, | ||
const label | size, | ||
writeOption | w = NO_WRITE
|
||
) |
faceSet | ( | const polyMesh & | mesh, |
const word & | name, | ||
const topoSet & | set, | ||
writeOption | w = NO_WRITE
|
||
) |
faceSet | ( | const polyMesh & | mesh, |
const word & | name, | ||
const labelHashSet & | set, | ||
writeOption | w = NO_WRITE
|
||
) |
TypeName | ( | "faceSet" | ) |
Runtime type information.
void sync | ( | const polyMesh & | mesh ) | [virtual]
|
Sync faceSet across coupled patches.
Reimplemented from topoSet.
Reimplemented in faceZoneSet.
Definition at line 114 of file faceSet.C.
References PstreamBase::blocking, polyMesh::boundaryMesh(), forAll, HashTable< nil, label, Hash< label > >::found(), HashSet< label, Hash< label > >::insert(), processorPolyPatch::neighbProcNo(), Pstream::parRun(), patches, Foam::reduce(), polyPatch::start(), and cyclicPolyPatch::transformGlobalFace().
Referenced by meshRefinement::createBaffles(), and removePoints::getUnrefimentSet().
label maxSize | ( | const polyMesh & | mesh ) | const [virtual]
|
Return max index+1.
Reimplemented from topoSet.
Reimplemented in faceZoneSet.
Definition at line 229 of file faceSet.C.
References primitiveMesh::nFaces().
void updateMesh | ( | const mapPolyMesh & | morphMap ) | [virtual]
|
Update any stored data for new labels.
Reimplemented from topoSet.
Reimplemented in faceZoneSet.
Definition at line 235 of file faceSet.C.
References mapPolyMesh::reverseFaceMap(), and topoSet::updateLabels().
void writeDebug | ( | Ostream & | os, |
const primitiveMesh & | mesh, | ||
const label | maxLen | ||
) | const [virtual]
|
Write maxLen items with label and coordinates.
Reimplemented from topoSet.
Reimplemented in faceZoneSet.
Definition at line 242 of file faceSet.C.
References primitiveMesh::faceCentres(), and topoSet::writeDebug().
Referenced by faceZoneSet::writeDebug().