Like meshCutter but also removes non-anchor side of cell. More...
Public Member Functions | |
ClassName ("meshCutAndRemove") | |
meshCutAndRemove (const polyMesh &mesh) | |
void | setRefinement (const label exposedPatchi, const cellCuts &cuts, const labelList &cutPatch, polyTopoChange &meshMod) |
void | updateMesh (const mapPolyMesh &) |
const Map< label > & | addedFaces () const |
const EdgeMap< label > & | addedPoints () const |
![]() | |
edgeVertex (const polyMesh &mesh) | |
const polyMesh & | mesh () const |
bool | isEdge (const label eVert) const |
label | getEdge (const label eVert) const |
label | getVertex (const label eVert) const |
label | vertToEVert (const label vertI) const |
label | edgeToEVert (const label edgeI) const |
point | coord (const label cut, const scalar weight) const |
label | cutPairToEdge (const label cut0, const label cut1) const |
Ostream & | writeCut (Ostream &os, const label cut, const scalar) const |
Ostream & | writeCuts (Ostream &os, const labelList &, const scalarField &) const |
Additional Inherited Members | |
![]() | |
static void | updateLabels (const labelList &map, List< refineCell > &) |
static void | updateLabels (const labelList &map, Map< label > &) |
static void | updateLabels (const labelList &map, labelHashSet &) |
static bool | isEdge (const primitiveMesh &mesh, const label eVert) |
static label | getEdge (const primitiveMesh &mesh, const label eVert) |
static label | getVertex (const primitiveMesh &mesh, const label eVert) |
static label | vertToEVert (const primitiveMesh &mesh, const label vertI) |
static label | edgeToEVert (const primitiveMesh &mesh, const label edgeI) |
static point | coord (const primitiveMesh &, const label cut, const scalar weight) |
static label | cutPairToEdge (const primitiveMesh &, const label cut0, const label cut1) |
Like meshCutter but also removes non-anchor side of cell.
Definition at line 60 of file meshCutAndRemove.H.
|
explicit |
Definition at line 559 of file meshCutAndRemove.C.
ClassName | ( | "meshCutAndRemove" | ) |
void setRefinement | ( | const label | exposedPatchi, |
const cellCuts & | cuts, | ||
const labelList & | cutPatch, | ||
polyTopoChange & | meshMod | ||
) |
Definition at line 570 of file meshCutAndRemove.C.
References Foam::abort(), polyMesh::boundaryMesh(), cellCuts::cellAnchorPoints(), cellCuts::cellLoops(), primitiveMesh::cellPoints(), Foam::expressions::patchExpr::debug, Foam::constant::electromagnetic::e, primitiveMesh::edgeFaces(), cellCuts::edgeIsCut(), primitiveMesh::edges(), cellCuts::edgeWeight(), Foam::endl(), f(), polyMesh::faceNeighbour(), polyMesh::faceOwner(), polyMesh::faces(), cellCuts::faceSplitCut(), Foam::FatalError, FatalErrorInFunction, forAll, forAllConstIters(), mesh, Foam::nl, cellCuts::nLoops(), nPoints, patches, patchID, cellCuts::pointIsCut(), polyMesh::points(), Foam::Pout, Foam::reverse(), polyTopoChange::setAction(), and polyBoundaryMesh::whichPatch().
void updateMesh | ( | const mapPolyMesh & | map | ) |
Definition at line 1262 of file meshCutAndRemove.C.
References Foam::expressions::patchExpr::debug, Foam::constant::electromagnetic::e, Foam::endl(), forAllConstIters(), HashTable::insert(), Foam::Pout, mapPolyMesh::reverseCellMap(), mapPolyMesh::reverseFaceMap(), and mapPolyMesh::reversePointMap().
|
inline |
Definition at line 219 of file meshCutAndRemove.H.
|
inline |
Definition at line 227 of file meshCutAndRemove.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.