Does modifications to boundary faces. More...
#include <boundaryCutter.H>
Public Member Functions | |
| ClassName ("boundaryCutter") | |
| Runtime type information. | |
| boundaryCutter (const polyMesh &mesh) | |
| Construct from mesh. | |
| ~boundaryCutter ()=default | |
| Destructor. | |
| 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. | |
| void | updateMesh (const mapPolyMesh &) |
| Force recalculation of locally stored data on topological change. | |
| const EdgeMap< labelList > & | edgeAddedPoints () const |
| Per edge a sorted list (start to end) of added points. | |
| const Map< label > & | faceAddedPoint () const |
| Per face the mid point added. | |
Does modifications to boundary faces.
Does
Definition at line 64 of file boundaryCutter.H.
|
explicit |
|
default |
Destructor.
| ClassName | ( | "boundaryCutter" | ) |
Runtime type information.
References mesh.
| 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 391 of file boundaryCutter.C.
References Foam::abort(), DynamicList< T, SizeMin >::append(), DynamicList< T, SizeMin >::clear(), Foam::diag(), e, Foam::endl(), f(), Foam::FatalError, FatalErrorInFunction, face::find(), HashTable< T, Key, Hash >::find(), forAll, forAllConstIters, HashTable< T, Key, Hash >::found(), HashTable< T, Key, Hash >::insert(), face::nextLabel(), patchID, Foam::Pout, polyTopoChange::setAction(), List< T >::setSize(), DynamicList< T, SizeMin >::shrink(), HashTable< T, Key, Hash >::size(), and UList< T >::size().

| void updateMesh | ( | const mapPolyMesh & | morphMap | ) |
Force recalculation of locally stored data on topological change.
Definition at line 818 of file boundaryCutter.C.
References e, forAll, forAllConstIters, HashTable< T, Key, Hash >::insert(), newPointi, mapPolyMesh::reverseFaceMap(), mapPolyMesh::reversePointMap(), List< T >::setSize(), UList< T >::size(), and List< T >::transfer().

Per edge a sorted list (start to end) of added points.
Definition at line 191 of file boundaryCutter.H.
|
inline |
Per face the mid point added.
Definition at line 199 of file boundaryCutter.H.