Loading...
Searching...
No Matches
areaMesh Class Reference

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

#include <areaFaMesh.H>

Inheritance diagram for areaMesh:
Collaboration diagram for areaMesh:

Public Member Functions

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

Static Public Member Functions

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

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.

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.

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

Here is the call graph for this function:

Member Function Documentation

◆ size() [1/2]

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()

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_, 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 areaVectorField & C ( ) const
inline

Field of face centres.

Definition at line 103 of file areaFaMesh.H.

References GeoMesh< faMesh >::mesh_.


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