Given list of faces to remove insert all the topology changes. Contains helper function to get consistent set of faces to remove. More...
Public Member Functions | |
ClassName ("removeFaces") | |
removeFaces (const polyMesh &, const scalar minCos) | |
label | compatibleRemoves (const labelList &inPiercedFaces, labelList &cellRegion, labelList &cellRegionMaster, labelList &outPiercedFaces) const |
void | setRefinement (const labelList &piercedFaces, const labelList &cellRegion, const labelList &cellRegionMaster, polyTopoChange &) const |
void | updateMesh (const mapPolyMesh &) |
void | distribute (const mapDistributePolyMesh &) |
Given list of faces to remove insert all the topology changes. Contains helper function to get consistent set of faces to remove.
Not very well tested in parallel.
Definition at line 60 of file removeFaces.H.
removeFaces | ( | const polyMesh & | mesh, |
const scalar | minCos | ||
) |
Definition at line 556 of file removeFaces.C.
ClassName | ( | "removeFaces" | ) |
Foam::label compatibleRemoves | ( | const labelList & | inPiercedFaces, |
labelList & | cellRegion, | ||
labelList & | cellRegionMaster, | ||
labelList & | outPiercedFaces | ||
) | const |
Definition at line 575 of file removeFaces.C.
References Foam::abort(), DynamicList::append(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::min(), List::setSize(), List::transfer(), and Foam::Zero.
void setRefinement | ( | const labelList & | piercedFaces, |
const labelList & | cellRegion, | ||
const labelList & | cellRegionMaster, | ||
polyTopoChange & | meshMod | ||
) | const |
Definition at line 756 of file removeFaces.C.
References Foam::abort(), Foam::expressions::patchExpr::debug, Foam::constant::electromagnetic::e, Foam::endl(), f(), PrimitivePatch< FaceList, PointField >::faceNormals(), Foam::FatalError, FatalErrorInFunction, forAll, HashSet::insert(), Foam::invertOneToMany(), Foam::labelI, Foam::labelMin, Foam::mag(), OFstream::name(), IOobject::name(), Foam::nl, patches, patchID, Foam::Pout, polyTopoChange::setAction(), polyPatch::start(), syncTools::swapFaceList(), syncTools::syncEdgeList(), syncTools::syncPointList(), WarningInFunction, polyBoundaryMesh::whichPatch(), regIOobject::write(), Foam::meshTools::writeOBJ(), and zoneID.
|
inline |
Definition at line 206 of file removeFaces.H.
|
inline |
Definition at line 210 of file removeFaces.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.