polyMeshFilter Class Reference

Remove the edges and faces of a polyMesh whilst satisfying the given mesh quality criteria. More...

Inheritance diagram for polyMeshFilter:
Collaboration diagram for polyMeshFilter:

Public Member Functions

 ClassName ("polyMeshFilter")
 Runtime type information. More...
 
 polyMeshFilter (const fvMesh &mesh)
 Construct from fvMesh. More...
 
 polyMeshFilter (const fvMesh &mesh, const labelList &pointPriority)
 Construct from fvMesh and a label list of point priorities. More...
 
 polyMeshFilter (const fvMesh &mesh, const labelList &pointPriority, const dictionary &dict)
 Construct from fvMesh and a label list of point priorities. More...
 
 polyMeshFilter (const polyMeshFilter &)=delete
 Disallow default bitwise copy construction. More...
 
 ~polyMeshFilter ()
 Destructor. More...
 
const autoPtr< fvMesh > & filteredMesh () const
 Return reference to the filtered mesh. Does not check if the. More...
 
const autoPtr< labelList > & pointPriority () const
 Return the new pointPriority list. More...
 
label filter (const label nOriginalBadFaces)
 Filter edges and faces. More...
 
label filter (const faceSet &fSet)
 Filter all faces that are in the face set. More...
 
label filterEdges (const label nOriginalBadFaces)
 Filter edges only. More...
 
void operator= (const polyMeshFilter &)=delete
 Disallow default bitwise assignment. More...
 

Static Public Member Functions

static autoPtr< fvMeshcopyMesh (const fvMesh &mesh)
 Return a copy of an fvMesh. More...
 
static void copySets (const polyMesh &oldMesh, const polyMesh &newMesh)
 Copy loaded topoSets from the old mesh to the new mesh. More...
 
static void updateSets (const polyTopoChangeMap &map)
 Update the loaded topoSets. More...
 

Detailed Description

Remove the edges and faces of a polyMesh whilst satisfying the given mesh quality criteria.

Works on a copy of the mesh.

Source files

Definition at line 62 of file polyMeshFilter.H.

Constructor & Destructor Documentation

◆ polyMeshFilter() [1/4]

polyMeshFilter ( const fvMesh mesh)
explicit

Construct from fvMesh.

Definition at line 871 of file polyMeshFilter.C.

References Foam::Info, and polyMeshFilterSettings::writeSettings().

Here is the call graph for this function:

◆ polyMeshFilter() [2/4]

polyMeshFilter ( const fvMesh mesh,
const labelList pointPriority 
)

Construct from fvMesh and a label list of point priorities.

Definition at line 898 of file polyMeshFilter.C.

References Foam::Info, and polyMeshFilterSettings::writeSettings().

Here is the call graph for this function:

◆ polyMeshFilter() [3/4]

polyMeshFilter ( const fvMesh mesh,
const labelList pointPriority,
const dictionary dict 
)

Construct from fvMesh and a label list of point priorities.

Definition at line 928 of file polyMeshFilter.C.

References Foam::Info, and polyMeshFilterSettings::writeSettings().

Here is the call graph for this function:

◆ polyMeshFilter() [4/4]

polyMeshFilter ( const polyMeshFilter )
delete

Disallow default bitwise copy construction.

◆ ~polyMeshFilter()

Destructor.

Definition at line 949 of file polyMeshFilter.C.

Member Function Documentation

◆ ClassName()

ClassName ( "polyMeshFilter"  )

Runtime type information.

◆ filteredMesh()

const Foam::autoPtr< Foam::fvMesh > & filteredMesh ( ) const

Return reference to the filtered mesh. Does not check if the.

mesh has actually been filtered.

Definition at line 1104 of file polyMeshFilter.C.

◆ pointPriority()

const Foam::autoPtr< Foam::labelList > & pointPriority ( ) const

Return the new pointPriority list.

Definition at line 1111 of file polyMeshFilter.C.

◆ copyMesh()

Foam::autoPtr< Foam::fvMesh > copyMesh ( const fvMesh mesh)
static

Return a copy of an fvMesh.

Definition at line 66 of file polyMeshFilter.C.

References polyTopoChange::makeMesh(), fvMesh::name(), IOobject::NO_READ, IOobject::NO_WRITE, and fvMesh::time().

Here is the call graph for this function:

◆ copySets()

void copySets ( const polyMesh oldMesh,
const polyMesh newMesh 
)
static

Copy loaded topoSets from the old mesh to the new mesh.

Definition at line 54 of file polyMeshFilter.C.

◆ updateSets()

void updateSets ( const polyTopoChangeMap map)
static

Update the loaded topoSets.

Definition at line 46 of file polyMeshFilter.C.

◆ filter() [1/2]

Foam::label filter ( const label  nOriginalBadFaces)

Filter edges and faces.

Definition at line 955 of file polyMeshFilter.C.

◆ filter() [2/2]

Foam::label filter ( const faceSet fSet)

Filter all faces that are in the face set.

Definition at line 964 of file polyMeshFilter.C.

References forAll, and HashTable< T, Key, Hash >::found().

Here is the call graph for this function:

◆ filterEdges()

◆ operator=()

void operator= ( const polyMeshFilter )
delete

Disallow default bitwise assignment.


The documentation for this class was generated from the following files: