![]() |
OGS
|
Manages the import and export of Aquaveo GMS files into and out of GeoLib.
This class currently supports reading and writing ASCII borehole files as well as (partially) reading mesh files. The 3dm-mesh-file-reader is based on example meshes and does currently only support the following element types: E4T (tetrahedra), E4P/E5P (pyramids) and E6W (wedges/prisms). Not supported are E8H (Hex), E4Q (Quad), E3T (Tri) as well as higher order elements. Please refer to the file format documentation of GMS for details.
Definition at line 45 of file GMSInterface.h.
#include <GMSInterface.h>
Static Public Member Functions | |
static void | writeBoreholesToGMS (const std::vector< GeoLib::Point * > *stations, const std::string &filename) |
static int | readBoreholesFromGMS (std::vector< GeoLib::Point * > &boreholes, const std::string &filename) |
Imports borehole data from a file in GMS-format. | |
static MeshLib::Mesh * | readMesh (const std::string &filename) |
Reads a GMS *.3dm file and converts it to an CFEMesh. | |
|
static |
Imports borehole data from a file in GMS-format.
Definition at line 44 of file GMSInterface.cpp.
References GeoLib::StationBorehole::addSoilLayer(), GeoLib::StationBorehole::createStation(), ERR(), OGS_FATAL, GeoLib::StationBorehole::setDepth(), BaseLib::splitString(), and WARN().
Referenced by MainWindow::loadFile().
|
static |
Reads a GMS *.3dm file and converts it to an CFEMesh.
Definition at line 180 of file GMSInterface.cpp.
References MeshLib::Cell, BaseLib::cleanupVectorElements(), MeshLib::Properties::createNewPropertyVector(), ERR(), BaseLib::extractBaseNameWithoutExtension(), INFO(), MeshLib::Node, and WARN().
Referenced by MainWindow::loadFile().
|
static |
Exports borehole data from all boreholes in a list to a file in GMS-format. (Note: there are some hardcoded tmp-files in the method that you might need to change!)
Definition at line 132 of file GMSInterface.cpp.
References GeoLib::StationBorehole::getProfile().
Referenced by MainWindow::exportBoreholesToGMS(), and StationTreeView::exportStation().