RINGMesh
Version 5.0.0
A programming library for geological model meshes
|
#include <geomodel_mesh.h>
Public Member Functions | |
GeoModelMeshWells (GeoModelMesh< DIMENSION > &gmm, GeoModel< DIMENSION > &gm, std::unique_ptr< LineMesh< DIMENSION > > &mesh) | |
GEO::AttributesManager & | attribute_manager () const |
bool | is_initialized () const |
void | test_and_initialize () const |
index_t | nb_wells () const |
index_t | nb_edges () const |
index_t | nb_edges (index_t well) const |
index_t | vertex (index_t well, index_t edge, index_t vertex) const |
void | clear () |
void | initialize () |
const LineAABBTree< DIMENSION > & | aabb () const |
return the AABB tree for the edges of the mesh More... | |
Private Attributes | |
std::unique_ptr< LineMesh< DIMENSION > > & | mesh_ |
Attached Mesh. More... | |
std::vector< index_t > | well_ptr_ |
Additional Inherited Members | |
Protected Member Functions inherited from RINGMesh::GeoModelMeshCommon< DIMENSION > | |
GeoModelMeshCommon (GeoModelMesh< DIMENSION > &gmm, GeoModel< DIMENSION > &geomodel) | |
virtual | ~GeoModelMeshCommon ()=default |
void | set_mesh (MeshBase< DIMENSION > *mesh) |
void | save_mesh (const std::string &filename) const |
Protected Attributes inherited from RINGMesh::GeoModelMeshCommon< DIMENSION > | |
GeoModelMesh< DIMENSION > & | gmm_ |
Attached GeoModelMesh. More... | |
GeoModel< DIMENSION > & | geomodel_ |
Attached GeoModel. More... | |
MeshBase< DIMENSION > * | mesh_base_ |
Attached MeshBase. More... | |
Definition at line 979 of file geomodel_mesh.h.
|
explicit |
Definition at line 2575 of file geomodel_mesh.cpp.
const LineAABBTree< DIMENSION > & RINGMesh::GeoModelMeshWells< DIMENSION >::aabb | ( | ) | const |
return the AABB tree for the edges of the mesh
Definition at line 2697 of file geomodel_mesh.cpp.
|
inline |
Definition at line 987 of file geomodel_mesh.h.
void RINGMesh::GeoModelMeshWells< DIMENSION >::clear | ( | ) |
Clear the mesh edges
Definition at line 2615 of file geomodel_mesh.cpp.
void RINGMesh::GeoModelMeshWells< DIMENSION >::initialize | ( | ) |
Initialize the mesh edges
Definition at line 2639 of file geomodel_mesh.cpp.
bool RINGMesh::GeoModelMeshWells< DIMENSION >::is_initialized | ( | ) | const |
Test if the mesh edges are initialized
Definition at line 2624 of file geomodel_mesh.cpp.
index_t RINGMesh::GeoModelMeshWells< DIMENSION >::nb_edges | ( | ) | const |
Gets the number of edges in the MacroMesh
Definition at line 2593 of file geomodel_mesh.cpp.
index_t RINGMesh::GeoModelMeshWells< DIMENSION >::nb_edges | ( | index_t | well | ) | const |
Gets the number of edges of a Well
[in] | w | the well index |
Definition at line 2600 of file geomodel_mesh.cpp.
index_t RINGMesh::GeoModelMeshWells< DIMENSION >::nb_wells | ( | ) | const |
Gets the number of wells
Definition at line 2585 of file geomodel_mesh.cpp.
void RINGMesh::GeoModelMeshWells< DIMENSION >::test_and_initialize | ( | ) | const |
Tests if the mesh edges needs to be initialized and initialize it
Definition at line 2630 of file geomodel_mesh.cpp.
index_t RINGMesh::GeoModelMeshWells< DIMENSION >::vertex | ( | index_t | well, |
index_t | edge, | ||
index_t | vertex | ||
) | const |
Gets the vertex index of the GeoModelMesh
[in] | w | the well index |
[in] | edge | the edge index in the well (from 0 to nb_edges in the well) |
[in] | vertex | the vertex index of the edge (0 or 1 ) |
Definition at line 2607 of file geomodel_mesh.cpp.
|
private |
Attached Mesh.
Definition at line 1043 of file geomodel_mesh.h.
|
private |
Vector storing the index of the starting edge index for a given well
Definition at line 1049 of file geomodel_mesh.h.