Public Member Functions | List of all members
boundaryCutter Class Reference

Does modifications to boundary faces. More...

Public Member Functions

 ClassName ("boundaryCutter")
 Runtime type information. More...
 
 boundaryCutter (const polyMesh &mesh)
 Construct from mesh. More...
 
 ~boundaryCutter ()
 Destructor. More...
 
void setRefinement (const Map< point > &pointToPos, const Map< List< point >> &edgeToCuts, const Map< labelPair > &faceToSplit, const Map< point > &faceToFeaturePoint, polyTopoChange &meshMod)
 Do actual cutting with cut description. Inserts mesh changes. More...
 
void updateMesh (const mapPolyMesh &)
 Force recalculation of locally stored data on topological change. More...
 
const HashTable< labelList, edge, Hash< edge > > & edgeAddedPoints () const
 Per edge a sorted list (start to end) of added points. More...
 
const Map< label > & faceAddedPoint () const
 Per face the mid point added. More...
 

Detailed Description

Does modifications to boundary faces.

Does

Source files

Definition at line 65 of file boundaryCutter.H.

Constructor & Destructor Documentation

◆ boundaryCutter()

boundaryCutter ( const polyMesh mesh)

Construct from mesh.

Definition at line 389 of file boundaryCutter.C.

◆ ~boundaryCutter()

Destructor.

Definition at line 399 of file boundaryCutter.C.

References boundaryCutter::setRefinement().

Here is the call graph for this function:

Member Function Documentation

◆ ClassName()

ClassName ( "boundaryCutter"  )

Runtime type information.

◆ setRefinement()

void setRefinement ( const Map< point > &  pointToPos,
const Map< List< point >> &  edgeToCuts,
const Map< labelPair > &  faceToSplit,
const Map< point > &  faceToFeaturePoint,
polyTopoChange meshMod 
)

Do actual cutting with cut description. Inserts mesh changes.

into meshMod. pointToPos : new position for selected points edgeToCuts : per edge set of points that need to be introduced faceToSplit : per face the diagonal split faceToFeaturePoint : per face the feature point. Triangulation around this feature point.

Definition at line 406 of file boundaryCutter.C.

References Foam::abort(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), HashTable< T, Key, Hash >::clear(), Foam::diag(), Foam::e, primitiveMesh::edgeFaces(), primitiveMesh::edges(), Foam::endl(), primitiveMesh::faceCentres(), polyMesh::faceNeighbour(), polyMesh::faceOwner(), polyMesh::faces(), Foam::FatalError, FatalErrorInFunction, Foam::findIndex(), forAll, forAllConstIter(), HashTable< T, label, Hash< label > >::found(), HashTable< T, Key, Hash >::found(), HashTable< T, Key, Hash >::insert(), primitiveMesh::isInternalFace(), face::nextLabel(), primitiveMesh::nFaces(), Foam::Pout, HashTable< T, Key, Hash >::resize(), polyTopoChange::setAction(), List< T >::setSize(), List< T >::size(), HashTable< T, label, Hash< label > >::size(), and edge::start().

Referenced by boundaryCutter::~boundaryCutter().

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

◆ updateMesh()

void updateMesh ( const mapPolyMesh morphMap)

◆ edgeAddedPoints()

const HashTable<labelList, edge, Hash<edge> >& edgeAddedPoints ( ) const
inline

Per edge a sorted list (start to end) of added points.

Definition at line 161 of file boundaryCutter.H.

◆ faceAddedPoint()

const Map<label>& faceAddedPoint ( ) const
inline

Per face the mid point added.

Definition at line 168 of file boundaryCutter.H.


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