RINGMesh  Version 5.0.0
A programming library for geological model meshes
RINGMesh::GeoModel< DIMENSION > Class Template Referencefinal

#include <geomodel.h>

Inheritance diagram for RINGMesh::GeoModel< DIMENSION >:
RINGMesh::GeoModelBase< DIMENSION >

Public Member Functions

 GeoModel ()
 
corner_range< DIMENSION > corners () const
 
line_range< DIMENSION > lines () const
 
surface_range< DIMENSION > surfaces () const
 
geol_entity_range< DIMENSION > geol_entities (const GeologicalEntityType &geol_type) const
 
- Public Member Functions inherited from RINGMesh::GeoModelBase< DIMENSION >
virtual ~GeoModelBase ()
 
const std::string & name () const
 Gets the name of the GeoModel. More...
 
const EntityTypeManager< DIMENSION > & entity_type_manager () const
 Gets the EntityTypeManager associated to the GeoModel. More...
 
virtual index_t nb_mesh_entities (const MeshEntityType &type) const
 Returns the number of mesh entities of the given type. More...
 
index_t nb_geological_entities (const GeologicalEntityType &type) const
 Returns the number of geological entities of the given type. More...
 
index_t nb_geological_entity_types () const
 Returns the index of the geological entity type storage. More...
 
const GeologicalEntityTypegeological_entity_type (index_t index) const
 
const GeoModelGeologicalEntity< DIMENSION > & geological_entity (gmge_id id) const
 Returns a const reference the identified GeoModelGeologicalEntity. More...
 
const GeoModelGeologicalEntity< DIMENSION > & geological_entity (const GeologicalEntityType &entity_type, index_t entity_index) const
 
virtual const GeoModelMeshEntity< DIMENSION > & mesh_entity (const gmme_id &id) const
 Generic access to a meshed entity. More...
 
const GeoModelMeshEntity< DIMENSION > & mesh_entity (const MeshEntityType &entity_type, index_t entity_index) const
 
void set_wells (const WellGroup< DIMENSION > *wells)
 
const WellGroup< DIMENSION > * wells () const
 
index_t nb_corners () const
 
index_t nb_lines () const
 
index_t nb_surfaces () const
 
const Corner< DIMENSION > & corner (index_t index) const
 
const Line< DIMENSION > & line (index_t index) const
 
const Surface< DIMENSION > & surface (index_t index) const
 
double epsilon () const
 
double epsilon2 () const
 

Friends

class GeoModelAccess< DIMENSION >
 

Additional Inherited Members

- Public Attributes inherited from RINGMesh::GeoModelBase< DIMENSION >
GeoModelMesh< DIMENSION > mesh
 
- Protected Member Functions inherited from RINGMesh::GeoModelBase< DIMENSION >
 GeoModelBase (GeoModel< DIMENSION > &geomodel)
 Constructs an empty GeoModel. More...
 
index_t geological_entity_type_index (const GeologicalEntityType &type) const
 
virtual const std::vector< std::unique_ptr< GeoModelMeshEntity< DIMENSION > > > & mesh_entities (const MeshEntityType &type) const
 Generic accessor to the storage of mesh entities of the given type. More...
 
const std::vector< std::unique_ptr< GeoModelGeologicalEntity< DIMENSION > > > & geological_entities (const GeologicalEntityType &type) const
 Generic accessor to the storage of geological entities of the given type. More...
 
const std::vector< std::unique_ptr< GeoModelGeologicalEntity< DIMENSION > > > & geological_entities (index_t geological_entity_type_index) const
 
- Protected Attributes inherited from RINGMesh::GeoModelBase< DIMENSION >
std::string geomodel_name_
 
double epsilon_ { -1 }
 
EntityTypeManager< DIMENSION > entity_type_manager_
 
const WellGroup< DIMENSION > * wells_ { nullptr }
 
std::vector< std::unique_ptr< GeoModelMeshEntity< DIMENSION > > > corners_
 
std::vector< std::unique_ptr< GeoModelMeshEntity< DIMENSION > > > lines_
 
std::vector< std::unique_ptr< GeoModelMeshEntity< DIMENSION > > > surfaces_
 
std::vector< std::vector< std::unique_ptr< GeoModelGeologicalEntity< DIMENSION > > > > geological_entities_
 Geological entities. They are optional. The EntityTypes are managed by the EntityTypeManager of the class. More...
 

Detailed Description

template<index_t DIMENSION>
class RINGMesh::GeoModel< DIMENSION >

Definition at line 322 of file geomodel.h.

Constructor & Destructor Documentation

◆ GeoModel()

template<index_t DIMENSION>
RINGMesh::GeoModel< DIMENSION >::GeoModel ( )

Definition at line 218 of file geomodel.cpp.

Member Function Documentation

◆ corners()

template<index_t DIMENSION>
corner_range< DIMENSION > RINGMesh::GeoModel< DIMENSION >::corners ( ) const
inline

Definition at line 329 of file geomodel.h.

◆ geol_entities()

template<index_t DIMENSION>
geol_entity_range< DIMENSION > RINGMesh::GeoModel< DIMENSION >::geol_entities ( const GeologicalEntityType geol_type) const
inline

Definition at line 341 of file geomodel.h.

◆ lines()

template<index_t DIMENSION>
line_range< DIMENSION > RINGMesh::GeoModel< DIMENSION >::lines ( ) const
inline

Definition at line 333 of file geomodel.h.

◆ surfaces()

template<index_t DIMENSION>
surface_range< DIMENSION > RINGMesh::GeoModel< DIMENSION >::surfaces ( ) const
inline

Definition at line 337 of file geomodel.h.

Friends And Related Function Documentation

◆ GeoModelAccess< DIMENSION >

template<index_t DIMENSION>
friend class GeoModelAccess< DIMENSION >
friend

Definition at line 324 of file geomodel.h.


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