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 48 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. More... | |
static MeshLib::Mesh * | readGMS3DMMesh (const std::string &filename) |
Reads a GMS *.3dm file and converts it to an CFEMesh. More... | |
|
static |
Imports borehole data from a file in GMS-format.
Definition at line 47 of file GMSInterface.cpp.
References GeoLib::StationBorehole::addSoilLayer(), GeoLib::StationBorehole::createStation(), ERR(), OGS_FATAL, anonymous_namespace{GMSInterface.cpp}::parsePointCoordinates(), GeoLib::StationBorehole::setDepth(), BaseLib::splitString(), and WARN().
|
static |
Reads a GMS *.3dm file and converts it to an CFEMesh.
Definition at line 183 of file GMSInterface.cpp.
References MeshLib::Cell, BaseLib::cleanupVectorElements(), MathLib::LinAlg::copy(), MeshLib::Properties::createNewPropertyVector(), ERR(), BaseLib::extractBaseNameWithoutExtension(), INFO(), and WARN().
|
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 135 of file GMSInterface.cpp.
References GeoLib::StationBorehole::getProfile().
Referenced by StationTreeView::exportStation().