RINGMesh
Version 5.0.0
A programming library for geological model meshes
|
#include <geomodel_geological_entity.h>
Public Types | |
enum | GEOL_FEATURE { GEOL_FEATURE::ALL_GEOL, GEOL_FEATURE::NO_GEOL, GEOL_FEATURE::STRATI, GEOL_FEATURE::UNCONFORMITY, GEOL_FEATURE::NORMAL_FAULT, GEOL_FEATURE::REVERSE_FAULT, GEOL_FEATURE::FAULT, GEOL_FEATURE::VOI } |
Geological feature types for GeoModelEntity. More... | |
Public Member Functions | |
bool | has_geological_feature () const |
GEOL_FEATURE | geological_feature () const |
gmge_id | gmge () const |
GeologicalEntityType | entity_type () const |
virtual MeshEntityType | child_type_name () const =0 |
virtual bool | is_on_voi () const |
virtual bool | is_connectivity_valid () const |
virtual bool | is_valid () const |
virtual GeologicalEntityType | type_name () const |
index_t | nb_children () const |
const gmme_id & | child_gmme (index_t x) const |
const GeoModelMeshEntity< DIMENSION > & | child (index_t x) const |
virtual bool | is_identification_valid () const |
template<> | |
void | initialize () |
template<> | |
void | initialize () |
Public Member Functions inherited from RINGMesh::GeoModelEntity< DIMENSION > | |
virtual | ~GeoModelEntity ()=default |
const GeoModel< DIMENSION > & | geomodel () const |
const std::string & | name () const |
index_t | index () const |
Static Public Member Functions | |
static GEOL_FEATURE | determine_geological_type (const std::string &in) |
Map the name of a geological type with a value of GEOL_FEATURE. More... | |
static std::string | geol_name (GEOL_FEATURE feature) |
static bool | is_fault (GEOL_FEATURE feature) |
static bool | is_stratigraphic_limit (GEOL_FEATURE feature) |
static void | initialize () |
static GeologicalEntityType | type_name_static () |
Protected Member Functions | |
GeoModelGeologicalEntity (const GeoModel< DIMENSION > &geomodel) | |
virtual bool | is_index_valid () const |
Protected Member Functions inherited from RINGMesh::GeoModelEntity< DIMENSION > | |
GeoModelEntity (const GeoModel< DIMENSION > &geomodel, index_t id) | |
void | copy_name (const GeoModelEntity< DIMENSION > &from) |
Protected Attributes | |
std::vector< index_t > | children_ {} |
Children relations of this entity. More... | |
GEOL_FEATURE | geol_feature_ { GEOL_FEATURE::NO_GEOL } |
Geological feature of this object - default is NO_GEOL. More... | |
Protected Attributes inherited from RINGMesh::GeoModelEntity< DIMENSION > | |
const GeoModel< DIMENSION > & | geomodel_ |
Reference to the GeoModel owning this entity. More... | |
std::string | name_ = std::string{ "Unnamed" } |
Name of the entity - default is "Unnamed". More... | |
index_t | id_ { NO_ID } |
Index of the entity. More... | |
Private Member Functions | |
void | copy_geological_entity (const GeoModelGeologicalEntity< DIMENSION > &from) |
Friends | |
class | GeoModelGeologicalEntityAccess< DIMENSION > |
Definition at line 66 of file geomodel_geological_entity.h.
|
strong |
Geological feature types for GeoModelEntity.
Enumerator | |
---|---|
ALL_GEOL | All geological features. |
NO_GEOL | Default value - No geological feature defined. |
STRATI | Stratigraphic surface - an horizon. |
UNCONFORMITY | Unconformity. |
NORMAL_FAULT | A normal fault. |
REVERSE_FAULT | A reverse fault. |
FAULT | An unspecified fault. |
VOI | Volume Of Interest. |
Definition at line 75 of file geomodel_geological_entity.h.
|
inlineexplicitprotected |
Definition at line 169 of file geomodel_geological_entity.h.
const GeoModelMeshEntity< DIMENSION > & RINGMesh::GeoModelGeologicalEntity< DIMENSION >::child | ( | index_t | x | ) | const |
Definition at line 162 of file geomodel_geological_entity.cpp.
const gmme_id & RINGMesh::GeoModelGeologicalEntity< DIMENSION >::child_gmme | ( | index_t | x | ) | const |
Definition at line 151 of file geomodel_geological_entity.cpp.
|
pure virtual |
Implemented in RINGMesh::Layer< DIMENSION >, RINGMesh::Interface< DIMENSION >, RINGMesh::Contact< DIMENSION >, RINGMesh::Layer< DIMENSION >, RINGMesh::Interface< DIMENSION >, RINGMesh::Contact< DIMENSION >, RINGMesh::Layer< DIMENSION >, RINGMesh::Interface< DIMENSION >, and RINGMesh::Contact< DIMENSION >.
|
inlineprivate |
Definition at line 178 of file geomodel_geological_entity.h.
|
static |
Map the name of a geological type with a value of GEOL_FEATURE.
[in] | in | Name of the feature. Can be
|
Definition at line 67 of file geomodel_geological_entity.cpp.
|
inline |
Definition at line 142 of file geomodel_geological_entity.h.
|
static |
Definition at line 116 of file geomodel_geological_entity.cpp.
|
inline |
Definition at line 130 of file geomodel_geological_entity.h.
|
inline |
Definition at line 137 of file geomodel_geological_entity.h.
|
inline |
Definition at line 125 of file geomodel_geological_entity.h.
|
static |
void RINGMesh::GeoModelGeologicalEntity< 2 >::initialize | ( | ) |
Definition at line 247 of file geomodel_geological_entity.cpp.
void RINGMesh::GeoModelGeologicalEntity< 3 >::initialize | ( | ) |
Definition at line 258 of file geomodel_geological_entity.cpp.
|
virtual |
Definition at line 188 of file geomodel_geological_entity.cpp.
|
static |
Definition at line 142 of file geomodel_geological_entity.cpp.
|
virtual |
Definition at line 217 of file geomodel_geological_entity.cpp.
|
protectedvirtual |
Implements RINGMesh::GeoModelEntity< DIMENSION >.
Definition at line 181 of file geomodel_geological_entity.cpp.
|
virtual |
Implements RINGMesh::GeoModelEntity< DIMENSION >.
Definition at line 168 of file geomodel_geological_entity.cpp.
|
inlinestatic |
Definition at line 119 of file geomodel_geological_entity.h.
|
virtual |
Implements RINGMesh::GeoModelEntity< DIMENSION >.
Definition at line 241 of file geomodel_geological_entity.cpp.
|
inline |
Definition at line 159 of file geomodel_geological_entity.h.
|
inlinevirtual |
Reimplemented in RINGMesh::Layer< DIMENSION >, RINGMesh::Interface< DIMENSION >, and RINGMesh::Contact< DIMENSION >.
Definition at line 155 of file geomodel_geological_entity.h.
|
inlinestatic |
Definition at line 151 of file geomodel_geological_entity.h.
|
friend |
Definition at line 70 of file geomodel_geological_entity.h.
|
protected |
Children relations of this entity.
Definition at line 188 of file geomodel_geological_entity.h.
|
protected |
Geological feature of this object - default is NO_GEOL.
Definition at line 191 of file geomodel_geological_entity.h.