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 PatchField = fvPatchField< Type >
 Patch field type. More...
 
template<class Type >
using FieldSource = fvFieldSource< Type >
 Field source type. More...
 
- Public Types inherited from GeoMesh< fvMesh >
typedef fvMesh Mesh
 Mesh type. More...
 
typedef MESH::BoundaryMesh BoundaryMesh
 Boundary mesh type. More...
 

Public Member Functions

 volMesh (const fvMesh &mesh)
 Construct from fvMesh. More...
 
label size () const
 Return size. More...
 
const volVectorField & C ()
 Return cell centres. More...
 
- Public Member Functions inherited from GeoMesh< fvMesh >
 GeoMesh (const fvMesh &mesh)
 Construct from MESH. More...
 
const objectRegistry & thisDb () const
 Return the object registry. More...
 
const fvMesh & operator() () 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 fvMesh & mesh_
 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

◆ PatchField

using PatchField = fvPatchField<Type>

Patch field type.

Definition at line 64 of file volMesh.H.

◆ FieldSource

using FieldSource = fvFieldSource<Type>

Field source type.

Definition at line 68 of file volMesh.H.

Constructor & Destructor Documentation

◆ volMesh()

volMesh ( const fvMesh &  mesh)
inlineexplicit

Construct from fvMesh.

Definition at line 74 of file volMesh.H.

Member Function Documentation

◆ size() [1/2]

label size ( ) const
inline

Return size.

Definition at line 83 of file volMesh.H.

References GeoMesh< fvMesh >::mesh_.

◆ size() [2/2]

static label size ( const Mesh &  mesh)
inlinestatic

Return size.

Definition at line 89 of file volMesh.H.

References mesh, and primitiveMesh::nCells().

Here is the call graph for this function:

◆ C()

const volVectorField& C ( )
inline

Return cell centres.

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