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

#include <geomodel_builder_topology.h>

Inheritance diagram for RINGMesh::GeoModelBuilderTopology< 2 >:
RINGMesh::GeoModelBuilderTopologyBase< DIMENSION >

Public Member Functions

void add_mesh_entity_boundary_relation (const gmme_id &incident_entity_id, const gmme_id &boundary_id, bool side=false) override
 
void set_mesh_entity_boundary (const gmme_id &gmme, index_t id, index_t boundary_id, bool side=false) override
 
- Public Member Functions inherited from RINGMesh::GeoModelBuilderTopologyBase< DIMENSION >
virtual ~GeoModelBuilderTopologyBase ()=default
 
void copy_topology (const GeoModel< DIMENSION > &from)
 Copy topological information from a geomodel. More...
 
bool get_dependent_entities (std::set< gmme_id > &mesh_entities, std::set< gmge_id > &geological_entities) const
 Add to the vector the entities which cannot exist if an entity in the set does not exist. More...
 
virtual gmme_id create_mesh_entity (const MeshEntityType &type)
 
virtual bool create_mesh_entities (const MeshEntityType &type, index_t nb_additional_entities)
 
void remove_mesh_entity_boundary_relation (const gmme_id &incident_entity, const gmme_id &boundary)
 
void set_mesh_entity_incident_entity (const gmme_id &gmme, index_t id, index_t incident_entity_id)
 
void delete_mesh_entity (const MeshEntityType &type, index_t index)
 
gmme_id find_or_create_corner (const vecn< DIMENSION > &point)
 Finds or creates a corner at given coordinates. More...
 
gmme_id find_or_create_corner (index_t geomodel_point_id)
 
gmme_id find_or_create_line (const std::vector< vecn< DIMENSION > > &vertices)
 Finds or creates a line. More...
 
gmme_id find_or_create_line (const std::vector< index_t > &sorted_adjacent_surfaces, const gmme_id &first_corner, const gmme_id &second_corner)
 Finds or creates a line knowing its topological adjacencies. More...
 

Private Member Functions

 GeoModelBuilderTopology (GeoModelBuilder2D &builder, GeoModel2D &geomodel)
 

Friends

class GeoModelBuilderBase< 2 >
 
class GeoModelBuilder< 2 >
 

Additional Inherited Members

- Protected Member Functions inherited from RINGMesh::GeoModelBuilderTopologyBase< DIMENSION >
 GeoModelBuilderTopologyBase (GeoModelBuilder< DIMENSION > &builder, GeoModel< DIMENSION > &geomodel)
 
template<template< index_t > class ENTITY>
gmme_id create_mesh_entity (const MeshType &mesh_type="")
 
template<template< index_t > class ENTITY>
bool create_mesh_entities (index_t nb_additionnal_entities, const MeshType &type="")
 
template<template< index_t > class ENTITY>
void copy_mesh_entity_topology (const GeoModel< DIMENSION > &from)
 
index_t check_if_boundary_incident_entity_relation_already_exists (const gmme_id &incident_entity, const gmme_id &boundary)
 
virtual void copy_all_mesh_entity_topology (const GeoModel< DIMENSION > &from)
 
- Protected Attributes inherited from RINGMesh::GeoModelBuilderTopologyBase< DIMENSION >
GeoModelBuilder< DIMENSION > & builder_
 
GeoModel< DIMENSION > & geomodel_
 
GeoModelAccess< DIMENSION > geomodel_access_
 

Detailed Description

template<>
class RINGMesh::GeoModelBuilderTopology< 2 >

Definition at line 188 of file geomodel_builder_topology.h.

Constructor & Destructor Documentation

◆ GeoModelBuilderTopology()

RINGMesh::GeoModelBuilderTopology< 2 >::GeoModelBuilderTopology ( GeoModelBuilder2D &  builder,
GeoModel2D &  geomodel 
)
inlineprivate

Definition at line 206 of file geomodel_builder_topology.h.

Member Function Documentation

◆ add_mesh_entity_boundary_relation()

void RINGMesh::GeoModelBuilderTopology< 2 >::add_mesh_entity_boundary_relation ( const gmme_id incident_entity_id,
const gmme_id boundary_id,
bool  side = false 
)
overridevirtual

◆ set_mesh_entity_boundary()

void RINGMesh::GeoModelBuilderTopology< 2 >::set_mesh_entity_boundary ( const gmme_id gmme,
index_t  id,
index_t  boundary_id,
bool  side = false 
)
overridevirtual

Friends And Related Function Documentation

◆ GeoModelBuilder< 2 >

friend class GeoModelBuilder< 2 >
friend

Definition at line 192 of file geomodel_builder_topology.h.

◆ GeoModelBuilderBase< 2 >

friend class GeoModelBuilderBase< 2 >
friend

Definition at line 191 of file geomodel_builder_topology.h.


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