42#ifndef polyMeshFilter_H
43#define polyMeshFilter_H
101 label filterFacesLoop(
const label nOriginalBadFaces);
118 void updatePointErrorCount
120 const bitSet& isErrorPoint,
128 void checkMeshEdgesAndRelaxEdges
132 const bitSet& isErrorPoint,
138 void checkMeshFacesAndRelaxEdges
142 const bitSet& isErrorPoint,
153 void updatePointPriorities
160 void printScalarFieldStats
168 void mapOldMeshEdgeFieldToNewMesh
177 void mapOldMeshFaceFieldToNewMesh
186 void updateOldToNewPointMap
254 label
filter(
const label nOriginalBadFaces);
260 label filterEdges(
const label nOriginalBadFaces);
Info<< nl<< "Wrote faMesh in vtk format: "<< writer.output().name()<< nl;}{ vtk::lineWriter writer(aMesh.points(), aMesh.edges(), fileName(aMesh.mesh().time().globalPath()/"finiteArea-edges"));writer.writeGeometry();writer.beginCellData(4);writer.writeProcIDs();{ Field< scalar > fld(faMeshTools::flattenEdgeField(aMesh.magLe(), true))
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Class to store the settings for the polyMeshFilter class.
Remove the edges and faces of a polyMesh whilst satisfying the given mesh quality criteria.
~polyMeshFilter()=default
Destructor.
const autoPtr< labelList > & pointPriority() const
Return the new pointPriority list.
label filter(const label nOriginalBadFaces)
Filter edges and faces.
static autoPtr< fvMesh > copyMesh(const fvMesh &mesh)
Return a copy of an fvMesh.
ClassName("polyMeshFilter")
Runtime type information.
const autoPtr< fvMesh > & filteredMesh() const
Return reference to the filtered mesh. Does not check if the.
Mesh consisting of general polyhedral cells.
#define ClassName(TypeNameString)
Add typeName information from argument TypeNameString to a class.
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)