Loading...
Searching...
No Matches
duplicatePoints Class Reference

Duplicate points. More...

#include <duplicatePoints.H>

Public Member Functions

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

Detailed Description

Duplicate points.

Source files

Definition at line 55 of file duplicatePoints.H.

Constructor & Destructor Documentation

◆ duplicatePoints()

duplicatePoints ( const polyMesh & mesh)
explicit

Construct from mesh.

Definition at line 42 of file duplicatePoints.C.

References mesh.

Member Function Documentation

◆ ClassName()

ClassName ( "duplicatePoints" )

Runtime type information.

References mesh.

◆ duplicates()

const labelListList & duplicates ( ) const
inline

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

Definition at line 108 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 51 of file duplicatePoints.C.

References polyTopoChange::addPoint(), 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(), HashTable< T, Key, Hash >::size(), UList< T >::size(), faceZone::whichFace(), and Foam::meshTools::writeOBJ().

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 202 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: