Does modifications to boundary faces. More...
#include <dynamicMesh/boundaryCutter.H>
Does modifications to boundary faces.
Definition at line 66 of file boundaryCutter.H.
Public Member Functions | |
ClassName ("boundaryCutter") | |
Runtime type information.
| |
boundaryCutter (const polyMesh &mesh) | |
Construct from mesh.
| |
~boundaryCutter () | |
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 HashTable< labelList, edge, Hash< edge > > & | edgeAddedPoints () const |
Per edge a sorted list (start to end) of added points.
| |
const Map< label > & | faceAddedPoint () const |
Per face the mid point added.
|
boundaryCutter | ( | const polyMesh & | mesh ) |
Construct from mesh.
Definition at line 393 of file boundaryCutter.C.
~boundaryCutter | ( | ) |
Definition at line 403 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 410 of file boundaryCutter.C.
References Foam::abort(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), Foam::diag(), e, HashTable< T, label, Hash< label > >::end(), Foam::endl(), Foam::FatalError, FatalErrorIn, HashTable< T, Key, Hash >::find(), Foam::findIndex(), forAll, forAllConstIter, HashTable< T, label, Hash< label > >::found(), face::nextLabel(), Foam::Pout, polyTopoChange::setAction(), List< T >::setSize(), List< T >::size(), HashTable< T, Key, Hash >::size(), and edge::start().
void updateMesh | ( | const mapPolyMesh & | morphMap ) |
Force recalculation of locally stored data on topological change.
Definition at line 836 of file boundaryCutter.C.
References e, edge::end(), forAll, forAllConstIter, mapPolyMesh::reverseFaceMap(), mapPolyMesh::reversePointMap(), List< T >::setSize(), List< T >::size(), edge::start(), and List< T >::transfer().
Per edge a sorted list (start to end) of added points.
Definition at line 163 of file boundaryCutter.H.
const Map<label>& faceAddedPoint | ( | ) | const [inline]
|
Per face the mid point added.
Definition at line 170 of file boundaryCutter.H.