Duplicate points. More...
Public Member Functions | |
ClassName ("duplicatePoints") | |
Runtime type information. More... | |
duplicatePoints (const polyMesh &mesh) | |
Construct from mesh. More... | |
const labelListList & | duplicates () const |
Per point in regionSide.pointRegions() the points created. More... | |
void | setRefinement (const localPointRegion ®ionSide, polyTopoChange &) |
Play commands into polyTopoChange to duplicate points. Gets. More... | |
void | updateMesh (const mapPolyMesh &) |
Force recalculation of locally stored data on topological change. More... | |
|
explicit |
Construct from mesh.
Definition at line 42 of file duplicatePoints.C.
ClassName | ( | "duplicatePoints" | ) |
Runtime type information.
|
inline |
Per point in regionSide.pointRegions() the points created.
Definition at line 108 of file duplicatePoints.H.
void setRefinement | ( | const localPointRegion & | regionSide, |
polyTopoChange & | meshMod | ||
) |
Play commands into polyTopoChange to duplicate points. Gets.
localPointRegion structure which is per non-manifold point the regions per point.
Definition at line 52 of file duplicatePoints.C.
References polyTopoChange::addPoint(), Foam::ensightOutput::debug, HashTable< T, Key, Hash >::end(), f(), HashTable< T, Key, Hash >::find(), UList< T >::find(), faceZone::flipMap(), forAll, forAllConstIters(), polyTopoChange::modifyFace(), patches, polyTopoChange::points(), List< T >::setSize(), PtrList< T >::setSize(), UList< T >::size(), HashTable< T, Key, Hash >::size(), faceZone::whichFace(), polyBoundaryMesh::whichPatch(), and Foam::meshTools::writeOBJ().
Referenced by meshRefinement::dupNonManifoldPoints().
void updateMesh | ( | const mapPolyMesh & | map | ) |
Force recalculation of locally stored data on topological change.
Definition at line 202 of file duplicatePoints.C.
References forAll, Foam::inplaceRenumber(), and mapPolyMesh::reversePointMap().