volMesh Class Reference

Mesh data needed to do the Finite Volume discretisation. More...

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

Public Member Functions

 volMesh (const fvMesh &mesh)
 Construct from fvMesh. More...
 
label size () const
 Return size. Number of cells. More...
 
const volVectorFieldC () const
 Field of cell centres. More...
 
- Public Member Functions inherited from GeoMesh< fvMesh >
 GeoMesh (const fvMesh &mesh)
 Construct from mesh reference. More...
 
bool hasDb () const
 Return true if thisDb() is a valid DB - here = false. More...
 
const objectRegistrythisDb () const
 Return the object registry. More...
 
const fvMeshoperator() () const
 Return reference to the underlying mesh. More...
 

Static Public Member Functions

static label size (const Mesh &mesh)
 Return size. Number of cells. More...
 

Additional Inherited Members

- Public Types inherited from GeoMesh< fvMesh >
typedef fvMesh Mesh
 
typedef MESH::BoundaryMesh BoundaryMesh
 
- Protected Attributes inherited from GeoMesh< fvMesh >
const fvMeshmesh_
 Reference to Mesh. More...
 

Detailed Description

Mesh data needed to do the Finite Volume discretisation.

Definition at line 51 of file volMesh.H.

Constructor & Destructor Documentation

◆ volMesh()

volMesh ( const fvMesh mesh)
inlineexplicit

Construct from fvMesh.

Definition at line 60 of file volMesh.H.

Member Function Documentation

◆ size() [1/2]

static label size ( const Mesh mesh)
inlinestatic

Return size. Number of cells.

Definition at line 69 of file volMesh.H.

References mesh, and primitiveMesh::nCells().

Here is the call graph for this function:

◆ size() [2/2]

label size ( ) const
inline

Return size. Number of cells.

Definition at line 75 of file volMesh.H.

References GeoMesh< fvMesh >::mesh_, and volMesh::size().

Referenced by volMesh::size().

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

◆ C()

const volVectorField & C ( ) const
inline

Field of cell centres.

Definition at line 81 of file volMesh.H.

References fvMesh::C(), and GeoMesh< fvMesh >::mesh_.

Here is the call graph for this function:

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