![]() |
OGS
|
|
Computes the areas associated nodes of the surface mesh.
Definition in file ComputeNodeAreasFromSurfaceMesh.cpp.
#include <tclap/CmdLine.h>#include <fstream>#include <memory>#include <numeric>#include <string>#include <vector>#include "BaseLib/Error.h"#include "BaseLib/FileTools.h"#include "BaseLib/Logging.h"#include "BaseLib/MPI.h"#include "BaseLib/TCLAPArguments.h"#include "InfoLib/GitInfo.h"#include "MeshLib/IO/readMeshFromFile.h"#include "MeshLib/Mesh.h"#include "MeshLib/Node.h"#include "MeshToolsLib/MeshSurfaceExtraction.h"Go to the source code of this file.
Functions | |
| static void | writeToFile (std::string const &id_area_fname, std::string const &csv_fname, std::vector< std::pair< std::size_t, double > > const &ids_and_areas, std::vector< MeshLib::Node * > const &mesh_nodes) |
| int | main (int argc, char *argv[]) |
| int main | ( | int | argc, |
| char * | argv[] ) |
Definition at line 61 of file ComputeNodeAreasFromSurfaceMesh.cpp.
References MeshLib::PropertyVector< PROP_VAL_TYPE >::begin(), MeshLib::PropertyVector< PROP_VAL_TYPE >::cbegin(), MeshLib::PropertyVector< PROP_VAL_TYPE >::cend(), BaseLib::dropFileExtension(), MeshLib::PropertyVector< PROP_VAL_TYPE >::end(), ERR(), MeshToolsLib::MeshSurfaceExtraction::getSurfaceAreaForNodes(), INFO(), BaseLib::initOGSLogger(), BaseLib::makeLogLevelArg(), MeshLib::Node, GitInfoLib::GitInfo::ogs_version, MeshLib::IO::readMeshFromFile(), and writeToFile().
|
static |
Definition at line 30 of file ComputeNodeAreasFromSurfaceMesh.cpp.
References OGS_FATAL.
Referenced by main().