A collection of cell labels. More...
#include <meshTools/cellSet.H>
A collection of cell labels.
Definition at line 49 of file cellSet.H.
Public Member Functions | |
TypeName ("cellSet") | |
Runtime type information.
| |
cellSet (const IOobject &obj) | |
Construct from IOobject. No checking.
| |
cellSet (const polyMesh &mesh, const word &name, readOption r=MUST_READ, writeOption w=NO_WRITE) | |
Construct from polyMesh and name. Checks for valid cell ids.
| |
cellSet (const polyMesh &mesh, const word &name, const label sizes, writeOption w=NO_WRITE) | |
Construct empty from size of labelHashSet.
| |
cellSet (const polyMesh &mesh, const word &name, const topoSet &, writeOption w=NO_WRITE) | |
Construct from existing set.
| |
cellSet (const polyMesh &mesh, const word &name, const labelHashSet &, writeOption w=NO_WRITE) | |
Construct from labelHashSet.
| |
cellSet (const Time &, const word &name, readOption r=MUST_READ, writeOption w=NO_WRITE) | |
Construct from objectRegistry and name.
| |
cellSet (const Time &, const word &name, const label size, writeOption w=NO_WRITE) | |
Construct empty from objectRegistry.
| |
cellSet (const Time &, const word &name, const labelHashSet &, writeOption w=NO_WRITE) | |
Construct from labelHashSet.
| |
virtual | ~cellSet () |
virtual void | sync (const polyMesh &mesh) |
Sync cellSet 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.
|
cellSet | ( | const polyMesh & | mesh, |
const word & | name, | ||
readOption | r = MUST_READ ,
|
||
writeOption | w = NO_WRITE
|
||
) |
Construct from polyMesh and name. Checks for valid cell ids.
Definition at line 55 of file cellSet.C.
References primitiveMesh::nCells().
cellSet | ( | const polyMesh & | mesh, |
const word & | name, | ||
const label | sizes, | ||
writeOption | w = NO_WRITE
|
||
) |
cellSet | ( | const polyMesh & | mesh, |
const word & | name, | ||
const topoSet & | set, | ||
writeOption | w = NO_WRITE
|
||
) |
cellSet | ( | const polyMesh & | mesh, |
const word & | name, | ||
const labelHashSet & | set, | ||
writeOption | w = NO_WRITE
|
||
) |
cellSet | ( | const Time & | runTime, |
const word & | name, | ||
readOption | r = MUST_READ ,
|
||
writeOption | w = NO_WRITE
|
||
) |
Construct from objectRegistry and name.
cellSet | ( | const Time & | runTime, |
const word & | name, | ||
const label | size, | ||
writeOption | w = NO_WRITE
|
||
) |
Construct empty from objectRegistry.
cellSet | ( | const Time & | runTime, |
const word & | name, | ||
const labelHashSet & | set, | ||
writeOption | w = NO_WRITE
|
||
) |
TypeName | ( | "cellSet" | ) |
Runtime type information.
virtual void sync | ( | const polyMesh & | mesh ) | [inline, virtual]
|
label maxSize | ( | const polyMesh & | mesh ) | const [virtual]
|
Return max index+1.
Reimplemented from topoSet.
Reimplemented in cellZoneSet.
Definition at line 186 of file cellSet.C.
References primitiveMesh::nCells().
void updateMesh | ( | const mapPolyMesh & | morphMap ) | [virtual]
|
Update any stored data for new labels.
Reimplemented from topoSet.
Reimplemented in cellZoneSet.
Definition at line 192 of file cellSet.C.
References mapPolyMesh::reverseCellMap(), 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 cellZoneSet.
Definition at line 199 of file cellSet.C.
References primitiveMesh::cellCentres(), and topoSet::writeDebug().
Referenced by cellZoneSet::writeDebug().