42 #ifndef polyMeshFilter_H 43 #define polyMeshFilter_H 96 template<
class SetType>
99 template<
class SetType>
102 label filterFacesLoop(
const label nOriginalBadFaces);
119 void updatePointErrorCount
121 const bitSet& isErrorPoint,
129 void checkMeshEdgesAndRelaxEdges
133 const bitSet& isErrorPoint,
139 void checkMeshFacesAndRelaxEdges
143 const bitSet& isErrorPoint,
154 void updatePointPriorities
161 void printScalarFieldStats
169 void mapOldMeshEdgeFieldToNewMesh
178 void mapOldMeshFaceFieldToNewMesh
187 void updateOldToNewPointMap
255 label
filter(
const label nOriginalBadFaces);
261 label filterEdges(
const label nOriginalBadFaces);
label filter(const label nOriginalBadFaces)
Filter edges and faces.
const autoPtr< labelList > & pointPriority() const
Return the new pointPriority list.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
static autoPtr< fvMesh > copyMesh(const fvMesh &mesh)
Return a copy of an fvMesh.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)
Remove the edges and faces of a polyMesh whilst satisfying the given mesh quality criteria...
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< ' ';}gmvFile<< nl;for(const word &name :lagrangianScalarNames){ IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
Mesh data needed to do the Finite Volume discretisation.
ClassName("polyMeshFilter")
Runtime type information.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
~polyMeshFilter()=default
Destructor.
Mesh consisting of general polyhedral cells.
const autoPtr< fvMesh > & filteredMesh() const
Return reference to the filtered mesh. Does not check if the.
Class to store the settings for the polyMeshFilter class.