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

#include <geomodel_builder_geology.h>

Public Member Functions

void copy_geology (const GeoModel< DIMENSION > &from)
 
gmge_id create_geological_entity (const GeologicalEntityType &type)
 Create and store a geological entity of the given type. More...
 
bool create_geological_entities (const GeologicalEntityType &type, index_t nb)
 
void set_geological_entity_geol_feature (const gmge_id &gmge_id, typename GeoModelGeologicalEntity< DIMENSION >::GEOL_FEATURE geol_feature)
 
void set_mesh_entity_parent (const gmme_id &child_gmme, index_t id, const gmge_id &parent_gmge)
 
void add_parent_children_relation (const gmge_id &parent, const gmme_id &children)
 
void remove_parent_children_relation (const gmge_id &parent, const gmme_id &children)
 
void set_geological_entity_child (const gmge_id &parent_gmge, index_t id, index_t child_id)
 
void delete_geological_entity (const GeologicalEntityType &type, index_t index)
 
void build_contacts ()
 Build the Contacts. More...
 

Protected Member Functions

 GeoModelBuilderGeology (GeoModelBuilder< DIMENSION > &builder, GeoModel< DIMENSION > &geomodel)
 
 ~GeoModelBuilderGeology ()=default
 

Private Member Functions

 ringmesh_disable_copy_and_move (GeoModelBuilderGeology)
 
 ringmesh_template_assert_2d_or_3d (DIMENSION)
 
index_t create_geological_entity_type (const GeologicalEntityType &type)
 
index_t find_or_create_geological_entity_type (const GeologicalEntityType &type)
 
void copy_geological_entity_topology (const GeoModel< DIMENSION > &from, const GeologicalEntityType &type)
 
bool check_if_boundary_incident_entity_relation_already_exists (const gmge_id &parent, const gmme_id &children)
 

Private Attributes

GeoModelBuilder< DIMENSION > & builder_
 
GeoModel< DIMENSION > & geomodel_
 
GeoModelAccess< DIMENSION > geomodel_access_
 

Friends

class GeoModelBuilderBase< DIMENSION >
 
class GeoModelBuilder< DIMENSION >
 

Detailed Description

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

Definition at line 57 of file geomodel_builder_geology.h.

Constructor & Destructor Documentation

◆ GeoModelBuilderGeology()

template<index_t DIMENSION>
RINGMesh::GeoModelBuilderGeology< DIMENSION >::GeoModelBuilderGeology ( GeoModelBuilder< DIMENSION > &  builder,
GeoModel< DIMENSION > &  geomodel 
)
protected

Definition at line 152 of file geomodel_builder_geology.cpp.

◆ ~GeoModelBuilderGeology()

template<index_t DIMENSION>
RINGMesh::GeoModelBuilderGeology< DIMENSION >::~GeoModelBuilderGeology ( )
protecteddefault

Member Function Documentation

◆ add_parent_children_relation()

template<index_t DIMENSION>
void RINGMesh::GeoModelBuilderGeology< DIMENSION >::add_parent_children_relation ( const gmge_id parent,
const gmme_id children 
)

Definition at line 204 of file geomodel_builder_geology.cpp.

◆ build_contacts()

template<index_t DIMENSION>
void RINGMesh::GeoModelBuilderGeology< DIMENSION >::build_contacts ( )

Build the Contacts.

One contact is a group of lines shared by the same Interfaces

Definition at line 382 of file geomodel_builder_geology.cpp.

◆ check_if_boundary_incident_entity_relation_already_exists()

template<index_t DIMENSION>
bool RINGMesh::GeoModelBuilderGeology< DIMENSION >::check_if_boundary_incident_entity_relation_already_exists ( const gmge_id parent,
const gmme_id children 
)
private

Definition at line 190 of file geomodel_builder_geology.cpp.

◆ copy_geological_entity_topology()

template<index_t DIMENSION>
void RINGMesh::GeoModelBuilderGeology< DIMENSION >::copy_geological_entity_topology ( const GeoModel< DIMENSION > &  from,
const GeologicalEntityType type 
)
private

Definition at line 367 of file geomodel_builder_geology.cpp.

◆ copy_geology()

template<index_t DIMENSION>
void RINGMesh::GeoModelBuilderGeology< DIMENSION >::copy_geology ( const GeoModel< DIMENSION > &  from)

Definition at line 161 of file geomodel_builder_geology.cpp.

◆ create_geological_entities()

template<index_t DIMENSION>
bool RINGMesh::GeoModelBuilderGeology< DIMENSION >::create_geological_entities ( const GeologicalEntityType type,
index_t  nb 
)

Definition at line 172 of file geomodel_builder_geology.cpp.

◆ create_geological_entity()

template<index_t DIMENSION>
gmge_id RINGMesh::GeoModelBuilderGeology< DIMENSION >::create_geological_entity ( const GeologicalEntityType type)

Create and store a geological entity of the given type.

Returns
The index of the created geological entity

Definition at line 313 of file geomodel_builder_geology.cpp.

◆ create_geological_entity_type()

template<index_t DIMENSION>
index_t RINGMesh::GeoModelBuilderGeology< DIMENSION >::create_geological_entity_type ( const GeologicalEntityType type)
private

Definition at line 343 of file geomodel_builder_geology.cpp.

◆ delete_geological_entity()

template<index_t DIMENSION>
void RINGMesh::GeoModelBuilderGeology< DIMENSION >::delete_geological_entity ( const GeologicalEntityType type,
index_t  index 
)

Definition at line 306 of file geomodel_builder_geology.cpp.

◆ find_or_create_geological_entity_type()

template<index_t DIMENSION>
index_t RINGMesh::GeoModelBuilderGeology< DIMENSION >::find_or_create_geological_entity_type ( const GeologicalEntityType type)
private

Definition at line 329 of file geomodel_builder_geology.cpp.

◆ remove_parent_children_relation()

template<index_t DIMENSION>
void RINGMesh::GeoModelBuilderGeology< DIMENSION >::remove_parent_children_relation ( const gmge_id parent,
const gmme_id children 
)

Definition at line 253 of file geomodel_builder_geology.cpp.

◆ ringmesh_disable_copy_and_move()

template<index_t DIMENSION>
RINGMesh::GeoModelBuilderGeology< DIMENSION >::ringmesh_disable_copy_and_move ( GeoModelBuilderGeology< DIMENSION >  )
private

◆ ringmesh_template_assert_2d_or_3d()

template<index_t DIMENSION>
RINGMesh::GeoModelBuilderGeology< DIMENSION >::ringmesh_template_assert_2d_or_3d ( DIMENSION  )
private

◆ set_geological_entity_child()

template<index_t DIMENSION>
void RINGMesh::GeoModelBuilderGeology< DIMENSION >::set_geological_entity_child ( const gmge_id parent_gmge,
index_t  id,
index_t  child_id 
)

No check on the validity of the index of the entity child_index NO_ID is used to flag entities to delete

Definition at line 286 of file geomodel_builder_geology.cpp.

◆ set_geological_entity_geol_feature()

template<index_t DIMENSION>
void RINGMesh::GeoModelBuilderGeology< DIMENSION >::set_geological_entity_geol_feature ( const gmge_id gmge_id,
typename GeoModelGeologicalEntity< DIMENSION >::GEOL_FEATURE  geol_feature 
)

Definition at line 437 of file geomodel_builder_geology.cpp.

◆ set_mesh_entity_parent()

template<index_t DIMENSION>
void RINGMesh::GeoModelBuilderGeology< DIMENSION >::set_mesh_entity_parent ( const gmme_id child_gmme,
index_t  id,
const gmge_id parent_gmge 
)
inline

No check on the validity of the index of the entity parents_ NO_ID is used to flag entities to delete

Definition at line 80 of file geomodel_builder_geology.h.

Friends And Related Function Documentation

◆ GeoModelBuilder< DIMENSION >

template<index_t DIMENSION>
friend class GeoModelBuilder< DIMENSION >
friend

Definition at line 62 of file geomodel_builder_geology.h.

◆ GeoModelBuilderBase< DIMENSION >

template<index_t DIMENSION>
friend class GeoModelBuilderBase< DIMENSION >
friend

Definition at line 61 of file geomodel_builder_geology.h.

Member Data Documentation

◆ builder_

template<index_t DIMENSION>
GeoModelBuilder< DIMENSION >& RINGMesh::GeoModelBuilderGeology< DIMENSION >::builder_
private

Definition at line 134 of file geomodel_builder_geology.h.

◆ geomodel_

template<index_t DIMENSION>
GeoModel< DIMENSION >& RINGMesh::GeoModelBuilderGeology< DIMENSION >::geomodel_
private

Definition at line 135 of file geomodel_builder_geology.h.

◆ geomodel_access_

template<index_t DIMENSION>
GeoModelAccess< DIMENSION > RINGMesh::GeoModelBuilderGeology< DIMENSION >::geomodel_access_
private

Definition at line 136 of file geomodel_builder_geology.h.


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