duplicatePoints Class Reference

Duplicate points. More...

Public Member Functions

 ClassName ("duplicatePoints")
 Runtime type information. More...
 
 duplicatePoints (const polyMesh &mesh)
 Construct from mesh. More...
 
const labelListListduplicates () const
 Per point in regionSide.pointRegions() the points created. More...
 
void setRefinement (const localPointRegion &regionSide, polyTopoChange &)
 Play commands into polyTopoChange to duplicate points. Gets. More...
 
void updateMesh (const mapPolyMesh &)
 Force recalculation of locally stored data on topological change. More...
 

Detailed Description

Duplicate points.

Source files

Definition at line 59 of file duplicatePoints.H.

Constructor & Destructor Documentation

◆ duplicatePoints()

duplicatePoints ( const polyMesh mesh)
explicit

Construct from mesh.

Definition at line 49 of file duplicatePoints.C.

Member Function Documentation

◆ ClassName()

ClassName ( "duplicatePoints"  )

Runtime type information.

◆ duplicates()

const labelListList& duplicates ( ) const
inline

Per point in regionSide.pointRegions() the points created.

Definition at line 97 of file duplicatePoints.H.

◆ setRefinement()

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(), Foam::expressions::patchExpr::debug, f(), faceZone::flipMap(), forAll, forAllConstIters(), polyTopoChange::modifyFace(), patches, polyTopoChange::points(), PtrList< T >::setSize(), List< T >::setSize(), faceZone::whichFace(), polyBoundaryMesh::whichPatch(), Foam::meshTools::writeOBJ(), and zoneID.

Referenced by meshRefinement::dupNonManifoldPoints().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateMesh()

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().

Here is the call graph for this function:

The documentation for this class was generated from the following files: