Loading...
Searching...
No Matches
volMesh Class Reference

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

#include <volMesh.H>

Inheritance diagram for volMesh:
Collaboration diagram for volMesh:

Public Member Functions

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

Static Public Member Functions

static label size (const polyMesh &mesh) noexcept
 The geometric (internal) mesh size - number of cells.
static label boundary_size (const polyMesh &mesh) noexcept
 The geometric boundary size - number of boundary faces.

Additional Inherited Members

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

Detailed Description

Mesh data needed to do the Finite Volume discretisation.

Definition at line 44 of file volMesh.H.

Constructor & Destructor Documentation

◆ volMesh()

volMesh ( const fvMesh & mesh)
inlineexplicit

Construct from fvMesh reference.

Definition at line 55 of file volMesh.H.

References GeoMesh< fvMesh >::GeoMesh(), and mesh.

Here is the call graph for this function:

Member Function Documentation

◆ size() [1/2]

label size ( const polyMesh & mesh)
inlinestaticnoexcept

The geometric (internal) mesh size - number of cells.

Method name expected by GeoMesh interface

Definition at line 68 of file volMesh.H.

References mesh.

◆ boundary_size()

label boundary_size ( const polyMesh & mesh)
inlinestaticnoexcept

The geometric boundary size - number of boundary faces.

Method name expected by GeoMesh interface

Definition at line 78 of file volMesh.H.

References mesh.

◆ size() [2/2]

label size ( ) const
inlinenoexcept

The geometric (internal) mesh size - number of cells.

Method name expected by GeoMesh interface

Definition at line 91 of file volMesh.H.

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

Referenced by 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 99 of file volMesh.H.

References GeoMesh< fvMesh >::mesh_.


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