RINGMesh  Version 5.0.0
A programming library for geological model meshes
geomodel_api.cpp File Reference
#include <ringmesh/geomodel/geomodel_api.h>
#include <array>
#include <iomanip>
#include <iostream>
#include <geogram/basic/progress.h>
#include <ringmesh/basic/geometry.h>
#include <ringmesh/geomodel/geomodel.h>
#include <ringmesh/geomodel/geomodel_entity.h>
#include <ringmesh/geomodel/geomodel_geological_entity.h>
#include <ringmesh/geomodel/geomodel_mesh_entity.h>
#include <ringmesh/tetrahedralize/tetra_gen.h>

Go to the source code of this file.

Namespaces

 RINGMesh
 Classes to build GeoModel from various inputs.
 

Functions

template<index_t DIMENSION>
void RINGMesh::print_nb_mesh_entities (const GeoModel< DIMENSION > &geomodel, const MeshEntityType &type)
 
template<index_t DIMENSION>
void RINGMesh::print_nb_geological_entities (const GeoModel< DIMENSION > &geomodel, const GeologicalEntityType &type)
 
template<index_t DIMENSION>
void RINGMesh::print_geomodel (const GeoModel< DIMENSION > &geomodel)
 Print in the console the geomodel statistics. More...
 
template<>
void RINGMESH_API RINGMesh::print_geomodel_mesh_stats (const GeoModel2D &geomodel)
 
template<>
void RINGMESH_API RINGMesh::print_geomodel_mesh_stats (const GeoModel3D &geomodel)
 
void RINGMESH_API RINGMesh::print_geomodel_mesh_cell_volumes (const GeoModel3D &geomodel)
 
template<index_t DIMENSION>
index_t RINGMesh::find_mesh_entity_id_from_name (const GeoModel< DIMENSION > &geomodel, const MeshEntityType &gmme_type, const std::string &name)
 
template<index_t DIMENSION>
index_t RINGMesh::find_geological_entity_id_from_name (const RINGMesh::GeoModel< DIMENSION > &geomodel, const RINGMesh::GeologicalEntityType &gmge_type, const std::string &name)
 
template<index_t DIMENSION>
void RINGMesh::translate (GeoModel< DIMENSION > &geomodel, const vecn< DIMENSION > &translation_vector)
 Translates the boundary geomodel by a vector. More...
 
void RINGMESH_API RINGMesh::rotate (GeoModel3D &geomodel, const vec3 &origin, const vec3 &axis, double angle, bool degrees=false)
 Rotate the boundary geomodel. More...
 
template void RINGMESH_API RINGMesh::print_geomodel (const GeoModel2D &)
 
template index_t RINGMESH_API RINGMesh::find_mesh_entity_id_from_name (const GeoModel2D &, const MeshEntityType &, const std::string &)
 
template index_t RINGMESH_API RINGMesh::find_geological_entity_id_from_name (const RINGMesh::GeoModel2D &, const RINGMesh::GeologicalEntityType &, const std::string &)
 
template void RINGMESH_API RINGMesh::translate (GeoModel2D &, const vec2 &)
 
template void RINGMESH_API RINGMesh::print_geomodel (const GeoModel3D &)
 
template index_t RINGMESH_API RINGMesh::find_mesh_entity_id_from_name (const GeoModel3D &, const MeshEntityType &, const std::string &)
 
template index_t RINGMESH_API RINGMesh::find_geological_entity_id_from_name (const RINGMesh::GeoModel3D &, const RINGMesh::GeologicalEntityType &, const std::string &)
 
template void RINGMESH_API RINGMesh::translate (GeoModel3D &, const vec3 &)