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... | |
Private Member Functions | |
duplicatePoints (const duplicatePoints &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const duplicatePoints &) |
Disallow default bitwise assignment. More... | |
Private Attributes | |
const polyMesh & | mesh_ |
Reference to mesh. More... | |
labelListList | duplicates_ |
Per regionSide.pointRegion() the points created. More... | |
|
private |
Disallow default bitwise copy construct.
duplicatePoints | ( | const polyMesh & | mesh | ) |
Construct from mesh.
Definition at line 49 of file duplicatePoints.C.
|
private |
Disallow default bitwise assignment.
ClassName | ( | "duplicatePoints" | ) |
Runtime type information.
|
inline |
Per point in regionSide.pointRegions() the points created.
Definition at line 95 of file duplicatePoints.H.
References duplicatePoints::duplicates_.
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(), f(), Foam::findIndex(), faceZone::flipMap(), forAll, forAllConstIter(), polyTopoChange::modifyFace(), patches, polyTopoChange::points(), List::setSize(), List::size(), faceZone::whichFace(), and Foam::meshTools::writeOBJ().
Referenced by meshRefinement::dupNonManifoldPoints(), and main().
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().
|
private |
Reference to mesh.
Definition at line 62 of file duplicatePoints.H.
|
private |
Per regionSide.pointRegion() the points created.
element 0 is the original point. Can have empty entries if a point only has one region.
Definition at line 67 of file duplicatePoints.H.
Referenced by duplicatePoints::duplicates().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.