Public Member Functions | Private Member Functions | Private Attributes
duplicatePoints Class Reference

Duplicate points. More...

Collaboration diagram for duplicatePoints:
Collaboration graph
[legend]

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

Private Member Functions

 duplicatePoints (const duplicatePoints &)
 Disallow default bitwise copy construct. More...
 
void operator= (const duplicatePoints &)
 Disallow default bitwise assignment. More...
 

Private Attributes

const polyMeshmesh_
 Reference to mesh. More...
 
labelListList duplicates_
 Per regionSide.pointRegion() the points created. More...
 

Detailed Description

Duplicate points.

Source files

Definition at line 57 of file duplicatePoints.H.

Constructor & Destructor Documentation

◆ duplicatePoints() [1/2]

duplicatePoints ( const duplicatePoints )
private

Disallow default bitwise copy construct.

◆ duplicatePoints() [2/2]

duplicatePoints ( const polyMesh mesh)

Construct from mesh.

Definition at line 49 of file duplicatePoints.C.

Member Function Documentation

◆ operator=()

void operator= ( const duplicatePoints )
private

Disallow default bitwise assignment.

◆ ClassName()

ClassName ( "duplicatePoints"  )

Runtime type information.

◆ duplicates()

const labelListList& duplicates ( ) const
inline

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

Definition at line 95 of file duplicatePoints.H.

References duplicatePoints::duplicates_.

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

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:

Field Documentation

◆ mesh_

const polyMesh& mesh_
private

Reference to mesh.

Definition at line 62 of file duplicatePoints.H.

◆ duplicates_

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


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