Loading...
Searching...
No Matches
GeoMesh< MESH > Class Template Reference

Generic mesh wrapper used by volMesh, surfaceMesh, pointMesh etc. More...

#include <GeoMesh.H>

Inheritance diagram for GeoMesh< MESH >:

Public Types

typedef MESH Mesh
typedef MESH::BoundaryMesh BoundaryMesh

Public Member Functions

 GeoMesh (const MESH &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 MESH & operator() () const
 Return reference to the underlying mesh.

Protected Attributes

const MESH & mesh_
 Reference to Mesh.

Detailed Description

template<class MESH>
class Foam::GeoMesh< MESH >

Generic mesh wrapper used by volMesh, surfaceMesh, pointMesh etc.

Derived classes are typically expected to implement the static methods size() and boundary_size().

Definition at line 45 of file GeoMesh.H.

Member Typedef Documentation

◆ Mesh

template<class MESH>
typedef MESH Mesh

Definition at line 61 of file GeoMesh.H.

◆ BoundaryMesh

template<class MESH>
typedef MESH::BoundaryMesh BoundaryMesh

Definition at line 62 of file GeoMesh.H.

Constructor & Destructor Documentation

◆ GeoMesh()

template<class MESH>
GeoMesh ( const MESH & mesh)
inlineexplicit

Construct from mesh reference.

Definition at line 70 of file GeoMesh.H.

References mesh, and mesh_.

Member Function Documentation

◆ hasDb()

template<class MESH>
bool hasDb ( ) const
inline

Return true if thisDb() is a valid DB - here = false.

Definition at line 81 of file GeoMesh.H.

◆ thisDb()

template<class MESH>
const objectRegistry & thisDb ( ) const
inline

Return the object registry.

Definition at line 89 of file GeoMesh.H.

References mesh_.

◆ operator()()

template<class MESH>
const MESH & operator() ( ) const
inline

Return reference to the underlying mesh.

Definition at line 100 of file GeoMesh.H.

References mesh_.

Member Data Documentation

◆ mesh_

template<class MESH>
const MESH& mesh_
protected

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