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

#include <geomodel.h>

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

Public Member Functions

 GeoModel ()
 
 ~GeoModel () override
 
corner_range< 2 > corners () const
 
line_range< 2 > lines () const
 
surface_range< 2 > surfaces () const
 
geol_entity_range< 2 > geol_entities (const GeologicalEntityType &geol_type) const
 
LineSide voi_lines () 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< 2 >
 

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<>
class RINGMesh::GeoModel< 2 >

Definition at line 412 of file geomodel.h.

Constructor & Destructor Documentation

◆ GeoModel()

Definition at line 230 of file geomodel.cpp.

◆ ~GeoModel()

RINGMesh::GeoModel< 2 >::~GeoModel ( )
override

Definition at line 234 of file geomodel.cpp.

Member Function Documentation

◆ corners()

corner_range< 2 > RINGMesh::GeoModel< 2 >::corners ( ) const
inline

Definition at line 420 of file geomodel.h.

◆ geol_entities()

geol_entity_range< 2 > RINGMesh::GeoModel< 2 >::geol_entities ( const GeologicalEntityType geol_type) const
inline

Definition at line 432 of file geomodel.h.

◆ lines()

line_range< 2 > RINGMesh::GeoModel< 2 >::lines ( ) const
inline

Definition at line 424 of file geomodel.h.

◆ surfaces()

surface_range< 2 > RINGMesh::GeoModel< 2 >::surfaces ( ) const
inline

Definition at line 428 of file geomodel.h.

◆ voi_lines()

LineSide RINGMesh::GeoModel< 2 >::voi_lines ( ) const

Definition at line 315 of file geomodel.cpp.

Friends And Related Function Documentation

◆ GeoModelAccess< 2 >

friend class GeoModelAccess< 2 >
friend

Definition at line 414 of file geomodel.h.


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