Collapses faces into edges. Used to remove sliver faces (faces with small area but non-zero span). More...
Public Member Functions | |
ClassName ("faceCollapser") | |
Runtime type information. More... | |
faceCollapser (const polyMesh &mesh) | |
Construct from mesh. More... | |
faceCollapser (const faceCollapser &)=delete | |
Disallow default bitwise copy construction. More... | |
void | setRefinement (const labelList &faceLabels, const labelList &fpA, const labelList &fpB, polyTopoChange &) const |
Collapse faces along endpoints. Play commands into. More... | |
void | updateMesh (const mapPolyMesh &) |
Update stored quantities for new mesh labels. More... | |
void | operator= (const faceCollapser &)=delete |
Disallow default bitwise assignment. More... | |
Collapses faces into edges. Used to remove sliver faces (faces with small area but non-zero span).
Takes the vertices outside the range fpA..fpB and projects them onto the kept edges (edges using kept vertices only).
Note:
Definition at line 75 of file faceCollapser.H.
faceCollapser | ( | const polyMesh & | mesh | ) |
Construct from mesh.
Definition at line 201 of file faceCollapser.C.
References faceCollapser::setRefinement().
|
delete |
Disallow default bitwise copy construction.
ClassName | ( | "faceCollapser" | ) |
Runtime type information.
void setRefinement | ( | const labelList & | faceLabels, |
const labelList & | fpA, | ||
const labelList & | fpB, | ||
polyTopoChange & | meshMod | ||
) | const |
Collapse faces along endpoints. Play commands into.
polyTopoChange to create mesh.
Definition at line 210 of file faceCollapser.C.
References Foam::abort(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), primitiveMesh::edgeFaces(), primitiveMesh::edges(), Foam::endl(), primitiveMesh::faceEdges(), polyMesh::faces(), Foam::FatalError, FatalErrorInFunction, UList< T >::fcIndex(), forAll, forAllConstIter(), SortableList< T >::indices(), Foam::magSqr(), line< Point, PointRef >::nearestDist(), Foam::nl, points, polyMesh::points(), Foam::Pout, PointHit< Point >::rawPoint(), UList< T >::rcIndex(), Foam::reverse(), polyTopoChange::setAction(), PointHit< Point >::setPoint(), List< T >::size(), SortableList< T >::sort(), Foam::sqrt(), edge::start(), and Foam::meshTools::writeOBJ().
Referenced by faceCollapser::faceCollapser().
|
inline |
Update stored quantities for new mesh labels.
Definition at line 144 of file faceCollapser.H.
References faceCollapser::operator=().
|
delete |
Disallow default bitwise assignment.
Referenced by faceCollapser::updateMesh().