56 template < index_t DIMENSION >
73 bool create_geological_entities(
81 const gmme_id& child_gmme, index_t
id,
const gmge_id& parent_gmge )
86 geomodel_access_.modifiable_mesh_entity( child_gmme );
89 index_t relationship_id = gmme_access.modifiable_parents()[id];
91 geomodel_access_.modifiable_entity_type_manager()
92 .relationship_manager;
94 relationship_id, parent_gmge );
97 void add_parent_children_relation(
100 void remove_parent_children_relation(
102 void set_geological_entity_child(
103 const gmge_id& parent_gmge, index_t
id, index_t child_id );
105 void delete_geological_entity(
113 void build_contacts();
121 index_t create_geological_entity_type(
124 index_t find_or_create_geological_entity_type(
130 bool check_if_boundary_incident_entity_relation_already_exists(
#define ringmesh_disable_copy_and_move(Class)
Abstract base class for GeoModelMeshEntity.
GeoModel< DIMENSION > & geomodel_
The GeologicalEntityType described the type of the Geological entities User can defined there own Geo...
Base class to build or edit a GeoModel.
GeoModelBuilder< DIMENSION > & builder_
#define ringmesh_template_assert_2d_or_3d(type)
GEOL_FEATURE
Geological feature types for GeoModelEntity.
GeoModelAccess< DIMENSION > geomodel_access_
index_t nb_parents() const
#define ringmesh_assert(x)
This template is a specialization of a gme_id to the GeoModelGeologicalEntity.
this class contains methods to manage relations between Geological and Mesh entities. For instance: A "Contact" can be the parent of one or more "Line" An "Interface" can the parent of one or more "Surface" A "Layer" can be the parent of one or more "Region"
Classes to build GeoModel from various inputs.
void set_mesh_entity_parent(const gmme_id &child_gmme, index_t id, const gmge_id &parent_gmge)
This template is a specialization of a gme_id to the GeoModelMeshEntity.
FORWARD_DECLARATION_DIMENSION_CLASS(GeoModelMeshEntityAccess)
void set_parent_to_parent_child_relationship(index_t relationship_id, const gmge_id &parent)