Duplicate points. More...
#include <dynamicMesh/duplicatePoints.H>
Duplicate points.
Definition at line 58 of file duplicatePoints.H.
Public Member Functions | |
ClassName ("duplicatePoints") | |
Runtime type information.
| |
duplicatePoints (const polyMesh &mesh) | |
Construct from mesh.
| |
const labelListList & | duplicates () const |
Per point in regionSide.pointRegions() the points created.
| |
void | setRefinement (const localPointRegion ®ionSide, polyTopoChange &) |
Play commands into polyTopoChange to duplicate points. Gets.
| |
void | updateMesh (const mapPolyMesh &) |
Force recalculation of locally stored data on topological change.
|
duplicatePoints | ( | const polyMesh & | mesh ) |
Construct from mesh.
Definition at line 49 of file duplicatePoints.C.
ClassName | ( | "duplicatePoints" | ) |
Runtime type information.
const labelListList& duplicates | ( | ) | const [inline]
|
Per point in regionSide.pointRegions() the points created.
Definition at line 96 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 59 of file duplicatePoints.C.
References polyTopoChange::addPoint(), HashTable< T, Key, Hash >::end(), f(), localPointRegion::faceRegions(), HashTable< T, Key, Hash >::find(), Foam::findIndex(), faceZone::flipMap(), forAll, forAllConstIter, localPointRegion::meshFaceMap(), localPointRegion::meshPointMap(), polyTopoChange::modifyFace(), patches, localPointRegion::pointRegions(), polyTopoChange::points(), List< T >::setSize(), PtrList< T >::setSize(), List< 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 209 of file duplicatePoints.C.
References forAll, Foam::inplaceRenumber(), and mapPolyMesh::reversePointMap().