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 EdgeMap< labelList > & | 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... | |
Does modifications to boundary faces.
Definition at line 67 of file boundaryCutter.H.
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.
ClassName | ( | "boundaryCutter" | ) |
Runtime type information.
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, SizeMin >::append(), Foam::expressions::patchExpr::debug, Foam::diag(), Foam::constant::electromagnetic::e, Foam::endl(), f(), Foam::FatalError, FatalErrorInFunction, forAll, forAllConstIters(), face::nextLabel(), patchID, Foam::Pout, polyTopoChange::setAction(), List< T >::setSize(), and zoneID.
void updateMesh | ( | const mapPolyMesh & | morphMap | ) |
Force recalculation of locally stored data on topological change.
Definition at line 832 of file boundaryCutter.C.
References Foam::constant::electromagnetic::e, forAll, forAllConstIters(), newPointi, mapPolyMesh::reverseFaceMap(), mapPolyMesh::reversePointMap(), List< T >::setSize(), and List< T >::transfer().
Per edge a sorted list (start to end) of added points.
Definition at line 163 of file boundaryCutter.H.
Per face the mid point added.
Definition at line 169 of file boundaryCutter.H.