OGS
|
#include <tclap/CmdLine.h>
#include <fstream>
#include "InfoLib/GitInfo.h"
#include "MeshLib/Elements/Element.h"
#include "MeshLib/IO/readMeshFromFile.h"
#include "MeshLib/IO/writeMeshToFile.h"
#include "MeshLib/Mesh.h"
#include "MeshLib/Node.h"
Go to the source code of this file.
Functions | |
std::vector< double > | getSurfaceIntegratedValuesForNodes (const MeshLib::Mesh &mesh, std::string const &prop_name) |
int | main (int argc, char *argv[]) |
std::vector<double> getSurfaceIntegratedValuesForNodes | ( | const MeshLib::Mesh & | mesh, |
std::string const & | prop_name | ||
) |
mesh | a surface mesh containing a property prop_name assigned to cells |
prop_name | name of the cell based property within the mesh |
Definition at line 30 of file createNeumannBc.cpp.
References MeshLib::Cell, ERR(), MeshLib::Properties::existsPropertyVector(), MeshLib::Mesh::getDimension(), MeshLib::Mesh::getElementsConnectedToNode(), MeshLib::Mesh::getNodes(), MeshLib::Mesh::getProperties(), MeshLib::Properties::getPropertyVector(), and INFO().
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 75 of file createNeumannBc.cpp.
References getSurfaceIntegratedValuesForNodes(), MeshLib::Node, GitInfoLib::GitInfo::ogs_version, MathLib::p, MeshLib::IO::readMeshFromFile(), WARN(), and MeshLib::IO::writeMeshToFile().