45 const char EOL =
'\n';
47 const char TAB =
'\t';
56 class StratigraphicColumn;
66 class MeshSubElementsStore;
78 const std::string& f1,
const std::string& f2 );
84 template < index_t DIMENSION >
86 GeoModel< DIMENSION >& geomodel,
const std::string& filename );
92 template < index_t DIMENSION >
94 const GeoModel< DIMENSION >& geomodel,
const std::string& filename );
101 const std::string& filename, WellGroup3D& wells );
108 template < index_t DIMENSION >
116 static void initialize();
118 static std::unique_ptr< GeoModelIOHandler< DIMENSION > > get_handler(
119 const std::string& filename );
125 const std::string& filename );
127 virtual index_t
dimension(
const std::string& filename )
const 139 const std::string& filename ) = 0;
142 static std::unique_ptr< GeoModelIOHandler > create(
143 const std::string& format );
148 template < index_t DIMENSION >
162 static void initialize();
164 static std::unique_ptr< WellGroupIOHandler > get_handler(
165 const std::string& filename );
167 virtual void load(
const std::string& filename, WellGroup3D& mesh ) = 0;
170 const WellGroup3D& mesh,
const std::string& filename ) = 0;
176 static std::unique_ptr< WellGroupIOHandler > create(
177 const std::string& format );
194 static void initialize();
196 static std::unique_ptr< StratigraphicColumnIOHandler > get_handler(
197 const std::string& filename );
199 virtual void load(
const std::string& filename,
201 GeoModel3D& geomodel ) = 0;
204 const std::string& filename ) = 0;
210 static std::unique_ptr< StratigraphicColumnIOHandler > create(
211 const std::string& format );
#define ringmesh_disable_copy_and_move(Class)
void RINGMESH_API mesh_initialize()
virtual index_t dimension(const std::string &filename) const
void ringmesh_unused(const T &)
bool geomodel_load(GeoModel< DIMENSION > &geomodel, const std::string &filename)
A stratigraphic column is composed of several stratigraphic units.
void geomodel_save(const GeoModel< DIMENSION > &geomodel, const std::string &filename)
void load_geomodel(GeoModel3D &geomodel)
void RINGMESH_API well_load(const std::string &filename, WellGroup3D &wells)
index_t RINGMESH_API find_geomodel_dimension(const std::string &filename)
bool RINGMESH_API compare_files(const std::string &f1, const std::string &f2)
Classes to build GeoModel from various inputs.
FORWARD_DECLARATION_DIMENSION_CLASS(GeoModelMeshEntityAccess)