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

#include <geomodel_geological_entity.h>

Inheritance diagram for RINGMesh::Layer< DIMENSION >:
RINGMesh::GeoModelGeologicalEntity< DIMENSION > RINGMesh::GeoModelEntity< DIMENSION >

Public Member Functions

 Layer (const GeoModel< DIMENSION > &geomodel)
 
GeologicalEntityType type_name () const override
 
MeshEntityType child_type_name () const override
 
template<>
MeshEntityType child_type_name () const
 
template<>
MeshEntityType child_type_name () const
 
- Public Member Functions inherited from RINGMesh::GeoModelGeologicalEntity< DIMENSION >
bool has_geological_feature () const
 
GEOL_FEATURE geological_feature () const
 
gmge_id gmge () const
 
GeologicalEntityType entity_type () const
 
virtual bool is_on_voi () const
 
virtual bool is_connectivity_valid () const
 
virtual bool is_valid () const
 
index_t nb_children () const
 
const gmme_idchild_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 GeologicalEntityType type_name_static ()
 
- Static Public Member Functions inherited from RINGMesh::GeoModelGeologicalEntity< DIMENSION >
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 ()
 

Additional Inherited Members

- Public Types inherited from RINGMesh::GeoModelGeologicalEntity< DIMENSION >
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...
 
- Protected Member Functions inherited from RINGMesh::GeoModelGeologicalEntity< DIMENSION >
 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 inherited from RINGMesh::GeoModelGeologicalEntity< DIMENSION >
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...
 

Detailed Description

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

Definition at line 248 of file geomodel_geological_entity.h.

Constructor & Destructor Documentation

◆ Layer()

template<index_t DIMENSION>
RINGMesh::Layer< DIMENSION >::Layer ( const GeoModel< DIMENSION > &  geomodel)
inlineexplicit

Definition at line 251 of file geomodel_geological_entity.h.

Member Function Documentation

◆ child_type_name() [1/3]

template<index_t DIMENSION>
MeshEntityType RINGMesh::Layer< DIMENSION >::child_type_name ( ) const
overridevirtual

◆ child_type_name() [2/3]

template<>
MeshEntityType RINGMesh::Layer< 2 >::child_type_name ( ) const
virtual

◆ child_type_name() [3/3]

template<>
MeshEntityType RINGMesh::Layer< 3 >::child_type_name ( ) const
virtual

◆ type_name()

template<index_t DIMENSION>
GeologicalEntityType RINGMesh::Layer< DIMENSION >::type_name ( ) const
inlineoverridevirtual

Reimplemented from RINGMesh::GeoModelGeologicalEntity< DIMENSION >.

Definition at line 260 of file geomodel_geological_entity.h.

◆ type_name_static()

template<index_t DIMENSION>
static GeologicalEntityType RINGMesh::Layer< DIMENSION >::type_name_static ( )
inlinestatic

Definition at line 256 of file geomodel_geological_entity.h.


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