manifoldCellsMeshObject Class Reference

Provides cell-to-faces ('cells()') with duplicate faces removed. More...

Inheritance diagram for manifoldCellsMeshObject:
[legend]
Collaboration diagram for manifoldCellsMeshObject:
[legend]

Public Member Functions

 ClassNameNoDebug ("manifoldCellsMeshObject")
 Declare name of the class, no debug. More...
 
 manifoldCellsMeshObject (const polyMesh &mesh)
 Construct from mesh. More...
 
virtual ~manifoldCellsMeshObject ()=default
 Destructor. More...
 
bool manifold () const
 
const cellListcells () const
 
virtual bool movePoints ()
 Mesh motion. More...
 
virtual void updateMesh (const mapPolyMesh &)
 Mesh changes. More...
 
- Public Member Functions inherited from MeshObject< polyMesh, UpdateableMeshObject, manifoldCellsMeshObject >
 MeshObject (const polyMesh &mesh)
 Construct on Mesh type. More...
 
virtual ~MeshObject ()=default
 Destructor. More...
 
const polyMeshmesh () const
 
virtual bool writeData (Ostream &os) const
 

Static Public Member Functions

static refPtr< cellListfilter (const polyMesh &mesh)
 
- Static Public Member Functions inherited from MeshObject< polyMesh, UpdateableMeshObject, manifoldCellsMeshObject >
static const manifoldCellsMeshObjectNew (const polyMesh &mesh, Args &&... args)
 Get existing or create a new MeshObject. More...
 
static bool Delete (const polyMesh &mesh)
 Static destructor. More...
 

Additional Inherited Members

- Protected Attributes inherited from MeshObject< polyMesh, UpdateableMeshObject, manifoldCellsMeshObject >
const polyMeshmesh_
 

Detailed Description

Provides cell-to-faces ('cells()') with duplicate faces removed.

Useful for postprocessing.

Source files

Definition at line 53 of file manifoldCellsMeshObject.H.

Constructor & Destructor Documentation

◆ manifoldCellsMeshObject()

manifoldCellsMeshObject ( const polyMesh mesh)

Construct from mesh.

Definition at line 167 of file manifoldCellsMeshObject.C.

◆ ~manifoldCellsMeshObject()

virtual ~manifoldCellsMeshObject ( )
virtualdefault

Destructor.

Member Function Documentation

◆ ClassNameNoDebug()

ClassNameNoDebug ( "manifoldCellsMeshObject"  )

Declare name of the class, no debug.

◆ filter()

Foam::refPtr< Foam::cellList > filter ( const polyMesh mesh)
static

Calculate cellList with all duplicate faces removed. Is reference to input mesh if no duplicates

Definition at line 155 of file manifoldCellsMeshObject.C.

References mesh.

◆ manifold()

bool manifold ( ) const

True if any manifold cells detected (globally) Triggers demand-driven filtering if required.

Definition at line 177 of file manifoldCellsMeshObject.C.

References mesh.

◆ cells()

const Foam::cellList & cells ( ) const

Return the (optionally compacted) cell list Triggers demand-driven filtering if required.

Definition at line 188 of file manifoldCellsMeshObject.C.

References cells, and mesh.

◆ movePoints()

virtual bool movePoints ( )
inlinevirtual

Mesh motion.

Definition at line 114 of file manifoldCellsMeshObject.H.

◆ updateMesh()

void updateMesh ( const mapPolyMesh )
virtual

Mesh changes.

Definition at line 199 of file manifoldCellsMeshObject.C.


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