A set of point labels. More...
#include <meshTools/pointSet.H>
A set of point labels.
Definition at line 49 of file pointSet.H.
Public Member Functions | |
TypeName ("pointSet") | |
Runtime type information.
| |
pointSet (const IOobject &obj) | |
Construct from IOobject.
| |
pointSet (const polyMesh &mesh, const word &name, readOption r=MUST_READ, writeOption w=NO_WRITE) | |
Construct from objectRegistry and name.
| |
pointSet (const polyMesh &mesh, const word &name, const label, writeOption w=NO_WRITE) | |
Construct from additional size of labelHashSet.
| |
pointSet (const polyMesh &mesh, const word &name, const topoSet &, writeOption w=NO_WRITE) | |
Construct from additional labelHashSet.
| |
pointSet (const polyMesh &mesh, const word &name, const labelHashSet &, writeOption w=NO_WRITE) | |
Construct from additional labelHashSet.
| |
virtual | ~pointSet () |
virtual void | sync (const polyMesh &mesh) |
Sync set across coupled patches. Adds coupled points to set.
| |
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 |
Update any stored data for new labels.
|
Construct from IOobject.
Definition at line 49 of file pointSet.C.
pointSet | ( | const polyMesh & | mesh, |
const word & | name, | ||
readOption | r = MUST_READ ,
|
||
writeOption | w = NO_WRITE
|
||
) |
Construct from objectRegistry and name.
Definition at line 56 of file pointSet.C.
References primitiveMesh::nPoints().
pointSet | ( | const polyMesh & | mesh, |
const word & | name, | ||
const label | size, | ||
writeOption | w = NO_WRITE
|
||
) |
Construct from additional size of labelHashSet.
Definition at line 70 of file pointSet.C.
pointSet | ( | const polyMesh & | mesh, |
const word & | name, | ||
const topoSet & | set, | ||
writeOption | w = NO_WRITE
|
||
) |
Construct from additional labelHashSet.
Definition at line 82 of file pointSet.C.
pointSet | ( | const polyMesh & | mesh, |
const word & | name, | ||
const labelHashSet & | set, | ||
writeOption | w = NO_WRITE
|
||
) |
Construct from additional labelHashSet.
Definition at line 94 of file pointSet.C.
~pointSet | ( | ) | [virtual]
|
Definition at line 107 of file pointSet.C.
TypeName | ( | "pointSet" | ) |
Runtime type information.
void sync | ( | const polyMesh & | mesh ) | [virtual]
|
Sync set across coupled patches. Adds coupled points to set.
Reimplemented from topoSet.
Reimplemented in pointZoneSet.
Definition at line 113 of file pointSet.C.
References forAll, forAllConstIter, HashSet< Key, Hash >::insert(), primitiveMesh::nPoints(), HashTable< nil, label, Hash< label > >::size(), syncTools::syncPointList(), and HashTable< nil, label, Hash< label > >::transfer().
Referenced by motionSmoother::scaleMesh().
label maxSize | ( | const polyMesh & | mesh ) | const [virtual]
|
Return max index+1.
Reimplemented from topoSet.
Reimplemented in pointZoneSet.
Definition at line 148 of file pointSet.C.
References primitiveMesh::nPoints().
void updateMesh | ( | const mapPolyMesh & | morphMap ) | [virtual]
|
Update any stored data for new labels.
Reimplemented from topoSet.
Reimplemented in pointZoneSet.
Definition at line 154 of file pointSet.C.
References mapPolyMesh::reversePointMap(), and topoSet::updateLabels().
void writeDebug | ( | Ostream & | os, |
const primitiveMesh & | mesh, | ||
const label | maxLen | ||
) | const [virtual]
|
Update any stored data for new labels.
virtual void updateMesh(const polyTopoChange& meshMod); Write maxLen items with label and coordinates.
Reimplemented from topoSet.
Reimplemented in pointZoneSet.
Definition at line 161 of file pointSet.C.
References primitiveMesh::points(), and topoSet::writeDebug().
Referenced by pointZoneSet::writeDebug().