49 Region3D::type_name_static(), Surface3D::type_name_static() );
58 template < index_t DIMENSION >
69 template < index_t DIMENSION >
82 register_incident_entity(
83 Surface3D::type_name_static(), Region3D::type_name_static() );
84 register_incident_entity( Region3D::type_name_static(),
92 register_incident_entity( Surface2D::type_name_static(),
100 mesh_entity_types_.push_back( Region3D::type_name_static() );
103 template < index_t DIMENSION >
109 template < index_t DIMENSION >
114 mesh_entity_types_.push_back(
123 const std::vector< GeologicalEntityType >&
130 index_t index )
const 150 MeshEntityToParents::const_iterator itr{ child_to_parents_.find(
152 std::vector< GeologicalEntityType > result;
153 if( itr != child_to_parents_.end() )
156 result.begin(), itr->second.begin(), itr->second.end() );
164 return static_cast< index_t
>( parent_types( child_type ).size() );
170 GeologicalEntityToChild::const_iterator itr{ parent_to_child_.find(
172 if( itr == parent_to_child_.end() )
std::vector< GeologicalEntityType > parent_types(const MeshEntityType &child_type) const
MeshEntityTypeBoundaryMap()
index_t nb_parent_types(const MeshEntityType &child_type) const
The GeologicalEntityType described the type of the Geological entities User can defined there own Geo...
A GeoModelEntity of type CORNER.
const MeshEntityType child_type(const GeologicalEntityType &parent_type) const
index_t geological_entity_type_index(const GeologicalEntityType &type) const
index_t find(const container &in, const T &value)
Returns the position of the first entity matching.
const std::vector< GeologicalEntityType > & geological_entity_types() const
bool is_valid_type(const GeologicalEntityType &type) const
struct used to map the type of a Mesh Entity to the type of its incident mesh entity "Line" is incide...
const GeologicalEntityType & geological_entity_type(index_t index) const
bool contains(const container &in, const T &value)
struct used to map the type of a Mesh Entity to the type of its boundary "Corner" is boundary of "Lin...
The MeshEntityType described the type of the meshed entities There are 4 MeshEntityTypes correspondin...
Classes to build GeoModel from various inputs.
MeshEntityTypeIncidentEntityMap()
static ForbiddenMeshEntityType & type_name_static()
A GeoModelEntity of type LINE.
index_t nb_geological_entity_types() const
this class contains only static methods to manage the type of the GeoModelMeshEntity. It gives access to the number of meshed entities of each type and also their (in) boundary
std::vector< GeologicalEntityType > geological_entity_types_