volMesh Class Reference

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

Inheritance diagram for volMesh:
Collaboration diagram for volMesh:

Public Types

template<class Type >
using FieldSource = fvFieldSource< Type >
 Field source type. More...
 
- Public Types inherited from GeoMesh< fvMesh >
typedef fvMesh Mesh
 
typedef MESH::BoundaryMesh BoundaryMesh
 

Public Member Functions

 volMesh (const fvMesh &mesh)
 Construct from fvMesh. More...
 
label size () const
 Return size. More...
 
const volVectorFieldC ()
 Return cell centres. More...
 
- Public Member Functions inherited from GeoMesh< fvMesh >
 GeoMesh (const fvMesh &mesh)
 Construct from MESH. More...
 
const objectRegistrythisDb () const
 Return the object registry. More...
 
const fvMeshoperator() () const
 Return reference to MESH. More...
 

Static Public Member Functions

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

Additional Inherited Members

- 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 53 of file volMesh.H.

Member Typedef Documentation

◆ FieldSource

using FieldSource = fvFieldSource<Type>

Field source type.

Definition at line 64 of file volMesh.H.

Constructor & Destructor Documentation

◆ volMesh()

volMesh ( const fvMesh mesh)
inlineexplicit

Construct from fvMesh.

Definition at line 70 of file volMesh.H.

Member Function Documentation

◆ size() [1/2]

label size ( ) const
inline

Return size.

Definition at line 79 of file volMesh.H.

References GeoMesh< fvMesh >::mesh_.

◆ size() [2/2]

static label size ( const Mesh mesh)
inlinestatic

Return size.

Definition at line 85 of file volMesh.H.

References primitiveMesh::nCells().

Here is the call graph for this function:

◆ C()

const volVectorField& C ( )
inline

Return cell centres.

Definition at line 91 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: