OGS
|
#include <tclap/CmdLine.h>
#include <mpi.h>
#include <fstream>
#include <map>
#include <string>
#include <vector>
#include "Applications/FileIO/readGeometryFromFile.h"
#include "Applications/FileIO/writeGeometryToFile.h"
#include "BaseLib/FileTools.h"
#include "GeoLib/GEOObjects.h"
#include "GeoLib/Point.h"
#include "InfoLib/GitInfo.h"
#include "MeshGeoToolsLib/MeshNodeSearcher.h"
#include "MeshLib/IO/readMeshFromFile.h"
#include "MeshLib/IO/writeMeshToFile.h"
#include "MeshLib/Mesh.h"
#include "MeshLib/Node.h"
#include "MeshToolsLib/MeshSurfaceExtraction.h"
Go to the source code of this file.
Functions | |
void | convertMeshNodesToGeometry (std::vector< MeshLib::Node * > const &nodes, std::vector< std::size_t > const &node_ids, std::string &geo_name, GeoLib::GEOObjects &geometry_sets) |
void | writeGroundwaterFlowPointBC (std::ostream &bc_out, std::string const &pnt_name, double head_value) |
void | writeLiquidFlowPointBC (std::ostream &bc_out, std::string const &pnt_name) |
void | writeBCsAndGeometry (GeoLib::GEOObjects &geometry_sets, std::string const &geo_name, std::string const &out_fname, std::string const &bc_type, bool const write_gml) |
int | main (int argc, char *argv[]) |
void convertMeshNodesToGeometry | ( | std::vector< MeshLib::Node * > const & | nodes, |
std::vector< std::size_t > const & | node_ids, | ||
std::string & | geo_name, | ||
GeoLib::GEOObjects & | geometry_sets ) |
Definition at line 37 of file CreateBoundaryConditionsAlongPolylines.cpp.
References GeoLib::GEOObjects::addPointVec().
Referenced by main().
int main | ( | int | argc, |
char * | argv[] ) |
Definition at line 129 of file CreateBoundaryConditionsAlongPolylines.cpp.
References GeoLib::GEOObjects::addPointVec(), convertMeshNodesToGeometry(), BaseLib::dropFileExtension(), ERR(), GeoLib::GEOObjects::getGeometryNames(), MeshGeoToolsLib::MeshNodeSearcher::getMeshNodeIDs(), MeshToolsLib::MeshSurfaceExtraction::getMeshSurface(), GeoLib::TemplateVec< T >::getNameOfElementByID(), GeoLib::GEOObjects::getPointVecObj(), GeoLib::GEOObjects::getPolylineVec(), GeoLib::TemplateVec< T >::getVector(), INFO(), GeoLib::GEOObjects::mergeGeometries(), GitInfoLib::GitInfo::ogs_version, FileIO::readGeometryFromFile(), MeshLib::IO::readMeshFromFile(), writeBCsAndGeometry(), and MeshGeoToolsLib::Yes.
void writeBCsAndGeometry | ( | GeoLib::GEOObjects & | geometry_sets, |
std::string const & | geo_name, | ||
std::string const & | out_fname, | ||
std::string const & | bc_type, | ||
bool const | write_gml ) |
Definition at line 87 of file CreateBoundaryConditionsAlongPolylines.cpp.
References GeoLib::PointVec::getItemNameByID(), GeoLib::GEOObjects::getPointVecObj(), GeoLib::TemplateVec< T >::getVector(), INFO(), FileIO::writeGeometryToFile(), writeGroundwaterFlowPointBC(), and writeLiquidFlowPointBC().
Referenced by main().
void writeGroundwaterFlowPointBC | ( | std::ostream & | bc_out, |
std::string const & | pnt_name, | ||
double | head_value ) |
Definition at line 57 of file CreateBoundaryConditionsAlongPolylines.cpp.
Referenced by writeBCsAndGeometry().
void writeLiquidFlowPointBC | ( | std::ostream & | bc_out, |
std::string const & | pnt_name ) |
Definition at line 71 of file CreateBoundaryConditionsAlongPolylines.cpp.
Referenced by writeBCsAndGeometry().