All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 (const boundaryCutter &)=delete
 Disallow default bitwise copy construction. 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 topoChange (const polyTopoChangeMap &)
 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...
 
void operator= (const boundaryCutter &)=delete
 Disallow default bitwise assignment. More...
 

Detailed Description

Does modifications to boundary faces.

Does

  • move boundary points
  • split boundary edges (multiple per edge if necessary)
  • face-centre decomposes boundary faces
  • diagonal split of boundary faces
Source files

Definition at line 65 of file boundaryCutter.H.

Constructor & Destructor Documentation

◆ boundaryCutter() [1/2]

boundaryCutter ( const polyMesh mesh)

Construct from mesh.

Definition at line 389 of file boundaryCutter.C.

◆ boundaryCutter() [2/2]

boundaryCutter ( const boundaryCutter )
delete

Disallow default bitwise copy construction.

◆ ~boundaryCutter()

Destructor.

Definition at line 399 of file boundaryCutter.C.

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 405 of file boundaryCutter.C.

References Foam::abort(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::clear(), Foam::diag(), Foam::e, HashTableCore::end(), Foam::endl(), f(), Foam::FatalError, FatalErrorInFunction, HashTable< T, Key, Hash >::find(), Foam::findIndex(), forAll, forAllConstIter, HashTable< T, Key, Hash >::found(), HashTable< T, Key, Hash >::insert(), face::nextLabel(), Foam::Pout, List< T >::resize(), polyTopoChange::setAction(), List< T >::setSize(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::shrink(), HashTable< T, Key, Hash >::size(), and List< T >::size().

Here is the call graph for this function:

◆ topoChange()

void topoChange ( const polyTopoChangeMap map)

Force recalculation of locally stored data on topological change.

Definition at line 832 of file boundaryCutter.C.

References Foam::e, forAll, forAllConstIter, HashTable< T, Key, Hash >::insert(), newPointi, polyTopoChangeMap::reverseFaceMap(), polyTopoChangeMap::reversePointMap(), List< T >::setSize(), and List< T >::size().

Here is the call graph for this function:

◆ edgeAddedPoints()

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

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

Definition at line 158 of file boundaryCutter.H.

◆ faceAddedPoint()

const Map<label>& faceAddedPoint ( ) const
inline

Per face the mid point added.

Definition at line 165 of file boundaryCutter.H.

◆ operator=()

void operator= ( const boundaryCutter )
delete

Disallow default bitwise assignment.


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