GeoMesh< MESH > Class Template Reference

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

Inheritance diagram for GeoMesh< MESH >:
[legend]

Public Types

typedef MESH Mesh
 
typedef MESH::BoundaryMesh BoundaryMesh
 

Public Member Functions

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

Protected Attributes

const MESH & mesh_
 Reference to Mesh. More...
 

Detailed Description

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

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

Definition at line 48 of file GeoMesh.H.

Member Typedef Documentation

◆ Mesh

typedef MESH Mesh

Definition at line 62 of file GeoMesh.H.

◆ BoundaryMesh

typedef MESH::BoundaryMesh BoundaryMesh

Definition at line 63 of file GeoMesh.H.

Constructor & Destructor Documentation

◆ GeoMesh()

GeoMesh ( const MESH &  mesh)
inlineexplicit

Construct from mesh reference.

Definition at line 69 of file GeoMesh.H.

Member Function Documentation

◆ hasDb()

bool hasDb ( ) const
inline

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

Definition at line 78 of file GeoMesh.H.

◆ thisDb()

const objectRegistry & thisDb ( ) const
inline

Return the object registry.

Definition at line 84 of file GeoMesh.H.

References GeoMesh< MESH >::mesh_.

Referenced by pointMesh::thisDb(), and areaWrite::write().

Here is the caller graph for this function:

◆ operator()()

const MESH & operator() ( ) const
inline

Return reference to the underlying mesh.

Definition at line 93 of file GeoMesh.H.

References GeoMesh< MESH >::mesh_.

Member Data Documentation

◆ mesh_

const MESH& mesh_
protected

Reference to Mesh.

Definition at line 55 of file GeoMesh.H.

Referenced by GeoMesh< MESH >::operator()(), and GeoMesh< MESH >::thisDb().


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