39 #ifndef polyMeshFilter_H
40 #define polyMeshFilter_H
98 label filterFacesLoop(
const label nOriginalBadFaces);
115 void updatePointErrorCount
125 void checkMeshEdgesAndRelaxEdges
135 void checkMeshFacesAndRelaxEdges
150 void updatePointPriorities
157 void printScalarFieldStats
165 void mapOldMeshEdgeFieldToNewMesh
174 void mapOldMeshFaceFieldToNewMesh
183 void updateOldToNewPointMap
254 label filterEdges(
const label nOriginalBadFaces);
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh data needed to do the Finite Volume discretisation.
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(const fvMesh &mesh)
Construct from fvMesh.
const autoPtr< labelList > & pointPriority() const
Return the new pointPriority list.
~polyMeshFilter()
Destructor.
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.
void operator=(const polyMeshFilter &)=delete
Disallow default bitwise assignment.
const autoPtr< fvMesh > & filteredMesh() const
Return reference to the filtered mesh. Does not check if the.
Mesh consisting of general polyhedral cells.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
gmvFile<< "tracers "<< particles.size()<< nl;{ pointField positions(particles.size());label particlei=0;forAllConstIter(Cloud< passiveParticle >, particles, iter) { positions[particlei++]=iter().position(mesh);} for(i=0;i< pTraits< point >::nComponents;i++) { forAll(positions, particlei) { gmvFile<< component(positions[particlei], i)<< ' ';} gmvFile<< nl;}}forAll(lagrangianScalarNames, i){ const word &name=lagrangianScalarNames[i];IOField< scalar > fld(IOobject(name, runTime.name(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)