areaMesh Class Reference

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

Inheritance diagram for areaMesh:
Collaboration diagram for areaMesh:

Public Member Functions

 areaMesh (const faMesh &mesh)
 Construct finite-area mesh from faMesh reference. More...
 
label size () const noexcept
 The geometric (internal) size - number of faces. More...
 
const areaVectorFieldC () const
 Field of face centres. More...
 
- Public Member Functions inherited from GeoMesh< faMesh >
 GeoMesh (const faMesh &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 faMeshoperator() () const
 Return reference to the underlying mesh. More...
 

Static Public Member Functions

static label size (const faMesh &mesh) noexcept
 The geometric (internal) size - number of faces. More...
 
static label boundary_size (const faMesh &mesh) noexcept
 The geometric boundary size - number of boundary edges. More...
 

Additional Inherited Members

- Public Types inherited from GeoMesh< faMesh >
typedef faMesh Mesh
 
typedef faMesh ::BoundaryMesh BoundaryMesh
 
- Protected Attributes inherited from GeoMesh< faMesh >
const faMeshmesh_
 Reference to Mesh. More...
 

Detailed Description

Mesh data needed to do the Finite Area discretisation.

Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.

Definition at line 47 of file areaFaMesh.H.

Constructor & Destructor Documentation

◆ areaMesh()

areaMesh ( const faMesh mesh)
inlineexplicit

Construct finite-area mesh from faMesh reference.

Definition at line 58 of file areaFaMesh.H.

Member Function Documentation

◆ size() [1/2]

static label size ( const faMesh mesh)
inlinestaticnoexcept

The geometric (internal) size - number of faces.

Method name expected by GeoMesh interface

Definition at line 71 of file areaFaMesh.H.

References mesh.

◆ boundary_size()

static label boundary_size ( const faMesh mesh)
inlinestaticnoexcept

The geometric boundary size - number of boundary edges.

Method name expected by GeoMesh interface

Definition at line 81 of file areaFaMesh.H.

References mesh.

◆ size() [2/2]

label size ( ) const
inlinenoexcept

The geometric (internal) size - number of faces.

Method name expected by GeoMesh interface

Definition at line 94 of file areaFaMesh.H.

References GeoMesh< faMesh >::mesh_.

◆ C()

const areaVectorField& C ( ) const
inline

Field of face centres.

Definition at line 103 of file areaFaMesh.H.

References faMesh::areaCentres(), and GeoMesh< faMesh >::mesh_.

Here is the call graph for this function:

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