All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
removeFaces Class Reference

Given list of faces to remove insert all the topology changes. Contains helper function to get consistent set of faces to remove. More...

Public Member Functions

 ClassName ("removeFaces")
 Runtime type information. More...
 
 removeFaces (const polyMesh &, const scalar minCos)
 Construct from mesh and min cos of angle for boundary faces. More...
 
 removeFaces (const removeFaces &)=delete
 Disallow default bitwise copy construction. More...
 
label compatibleRemoves (const labelList &inPiercedFaces, labelList &cellRegion, labelList &cellRegionMaster, labelList &outPiercedFaces) const
 Find faces including those with cells which have the same mastercell. More...
 
void setRefinement (const labelList &piercedFaces, const labelList &cellRegion, const labelList &cellRegionMaster, polyTopoChange &) const
 Play commands into polyTopoChange to remove faces. More...
 
void updateMesh (const mapPolyMesh &)
 Force recalculation of locally stored data on topological change. More...
 
void distribute (const mapDistributePolyMesh &)
 Force recalculation of locally stored data for mesh distribution. More...
 
void operator= (const removeFaces &)=delete
 Disallow default bitwise assignment. More...
 

Detailed Description

Given list of faces to remove insert all the topology changes. Contains helper function to get consistent set of faces to remove.

Not very well tested in parallel.

Source files

Definition at line 62 of file removeFaces.H.

Constructor & Destructor Documentation

◆ removeFaces() [1/2]

removeFaces ( const polyMesh ,
const scalar  minCos 
)

Construct from mesh and min cos of angle for boundary faces.

to be considered aligned. Set to >= 1 to disable checking and always merge (if on same patch)

◆ removeFaces() [2/2]

removeFaces ( const removeFaces )
delete

Disallow default bitwise copy construction.

Member Function Documentation

◆ ClassName()

ClassName ( "removeFaces"  )

Runtime type information.

◆ compatibleRemoves()

label compatibleRemoves ( const labelList inPiercedFaces,
labelList cellRegion,
labelList cellRegionMaster,
labelList outPiercedFaces 
) const

Find faces including those with cells which have the same mastercell.

Given set of faces to pierce calculates:

  • region for connected cells
  • mastercell for each region. This is the lowest numbered cell of all cells that get merged.
  • new set of faces which contains input set + additional ones where cells on both sides would have same mastercell. Returns number of regions.

Referenced by hexRef8::setUnrefinement().

Here is the caller graph for this function:

◆ setRefinement()

void setRefinement ( const labelList piercedFaces,
const labelList cellRegion,
const labelList cellRegionMaster,
polyTopoChange  
) const

Play commands into polyTopoChange to remove faces.

Referenced by hexRef8::setUnrefinement().

Here is the caller graph for this function:

◆ updateMesh()

void updateMesh ( const mapPolyMesh )
inline

Force recalculation of locally stored data on topological change.

Definition at line 203 of file removeFaces.H.

Referenced by hexRef8::updateMesh().

Here is the caller graph for this function:

◆ distribute()

void distribute ( const mapDistributePolyMesh )
inline

Force recalculation of locally stored data for mesh distribution.

Definition at line 207 of file removeFaces.H.

References removeFaces::operator=().

Referenced by hexRef8::distribute().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=()

void operator= ( const removeFaces )
delete

Disallow default bitwise assignment.

Referenced by removeFaces::distribute().

Here is the caller graph for this function:

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