RINGMesh  Version 5.0.0
A programming library for geological model meshes
geomodel_validity.h File Reference

Go to the source code of this file.

Namespaces

 RINGMesh
 Classes to build GeoModel from various inputs.
 

Enumerations

enum  RINGMesh::ValidityCheckMode {
  RINGMesh::ValidityCheckMode::EMPTY = 0, RINGMesh::ValidityCheckMode::FINITE_EXTENSION = 1, RINGMesh::ValidityCheckMode::GEOMODEL_CONNECTIVITY = 1 << 1, RINGMesh::ValidityCheckMode::GEOLOGICAL_ENTITIES = 1 << 2,
  RINGMesh::ValidityCheckMode::SURFACE_LINE_MESH_CONFORMITY = 1 << 3, RINGMesh::ValidityCheckMode::REGION_SURFACE_MESH_CONFORMITY = 1 << 4, RINGMesh::ValidityCheckMode::MESH_ENTITIES = 1 << 5, RINGMesh::ValidityCheckMode::NON_MANIFOLD_EDGES = 1 << 6,
  RINGMesh::ValidityCheckMode::POLYGON_INTERSECTIONS = 1 << 7, RINGMesh::ValidityCheckMode::GEOLOGY = GEOLOGICAL_ENTITIES, RINGMesh::ValidityCheckMode::TOPOLOGY = FINITE_EXTENSION | GEOMODEL_CONNECTIVITY, RINGMesh::ValidityCheckMode::GEOMETRY,
  RINGMesh::ValidityCheckMode::ALL = TOPOLOGY | GEOMETRY | GEOLOGY
}
 Option to select what are checked. More...
 

Functions

 RINGMesh::FORWARD_DECLARATION_DIMENSION_CLASS (GeoModel)
 
 RINGMesh::FORWARD_DECLARATION_DIMENSION_CLASS (GeoModelEntity)
 
 RINGMesh::ENABLE_BITMASK_OPERATORS (ValidityCheckMode)
 
void RINGMESH_API RINGMesh::set_validity_errors_directory (const std::string &directory)
 Set the directory where debugging information on invalid entities shall be stored. More...
 
std::string RINGMESH_API RINGMesh::get_validity_errors_directory ()
 Get the directory where debugging information on invalid entities shall be stored. More...
 
template<index_t DIMENSION>
bool RINGMesh::is_geomodel_valid (const GeoModel< DIMENSION > &geomodel, ValidityCheckMode validity_check_mode=ValidityCheckMode::ALL)
 Check global geomodel validity. More...
 
template<index_t DIMENSION>
bool RINGMesh::are_geomodel_mesh_entities_mesh_valid (const GeoModel< DIMENSION > &geomodel)
 Check the validity of all individual entity meshes. More...
 
template<index_t DIMENSION>
bool RINGMesh::are_geomodel_mesh_entities_connectivity_valid (const GeoModel< DIMENSION > &geomodel)
 Check the connectivity of mesh entities. More...
 
template<index_t DIMENSION>
bool RINGMesh::are_geomodel_mesh_entities_parent_valid (const GeoModel< DIMENSION > &geomodel)
 
template<index_t DIMENSION>
bool RINGMesh::are_geomodel_geological_entities_valid (const GeoModel< DIMENSION > &geomodel)