OGS
|
Definition in file ipDataToPointCloud.cpp.
#include <tclap/CmdLine.h>
#include <unordered_map>
#include "InfoLib/GitInfo.h"
#include "MeshLib/IO/readMeshFromFile.h"
#include "MeshLib/IO/writeMeshToFile.h"
#include "MeshLib/Mesh.h"
#include "MeshLib/Utils/IntegrationPointWriter.h"
#include "NumLib/Fem/InitShapeMatrices.h"
#include "NumLib/Fem/ShapeMatrixCache.h"
Go to the source code of this file.
Classes | |
struct | CellTypeOfTemplateElement< MeshLib::TemplateElement< ElementRule > > |
Functions | |
template<typename MeshElement > | |
std::vector< std::array< double, 3 > > | interpolateElementCoords (MeshLib::Element const &e, NumLib::ShapeMatrixCache const &sm_cache) |
std::unordered_map< MeshLib::CellType, std::vector< std::array< double, 3 > > MeshLib::Element | createElementCoordInterpolatorsForAllElementTypes () |
std::vector< MeshLib::Node * > | computePointCloudNodes (MeshLib::Mesh const &mesh, unsigned const integration_order) |
unsigned | determineIntegrationOrder (MeshLib::Mesh const &mesh) |
void | copyDoubleValuedFieldDataToPointCloud (MeshLib::Properties const &props_in, MeshLib::Properties &props_out, std::size_t const num_ips) |
int | main (int argc, char **argv) |
std::vector< MeshLib::Node * > computePointCloudNodes | ( | MeshLib::Mesh const & | mesh, |
unsigned const | integration_order ) |
Definition at line 91 of file ipDataToPointCloud.cpp.
References MeshLib::CellType2String(), createElementCoordInterpolatorsForAllElementTypes(), MeshLib::Mesh::getElements(), and OGS_FATAL.
Referenced by main().
void copyDoubleValuedFieldDataToPointCloud | ( | MeshLib::Properties const & | props_in, |
MeshLib::Properties & | props_out, | ||
std::size_t const | num_ips ) |
Definition at line 166 of file ipDataToPointCloud.cpp.
References MeshLib::Properties::createNewPropertyVector(), DBUG(), MeshLib::Properties::existsPropertyVector(), INFO(), MeshLib::IntegrationPoint, MeshLib::Node, OGS_FATAL, and WARN().
Referenced by main().
std::unordered_map< MeshLib::CellType, std::vector< std::array< double, 3 > > MeshLib::Element createElementCoordInterpolatorsForAllElementTypes | ( | ) |
Definition at line 57 of file ipDataToPointCloud.cpp.
References MeshLib::CellType2String(), and OGS_FATAL.
Referenced by computePointCloudNodes().
unsigned determineIntegrationOrder | ( | MeshLib::Mesh const & | mesh | ) |
Definition at line 124 of file ipDataToPointCloud.cpp.
References MeshLib::getIntegrationPointMetaData(), MeshLib::Mesh::getProperties(), MeshLib::IntegrationPointMetaData::integration_order, MeshLib::IntegrationPoint, and OGS_FATAL.
Referenced by main().
std::vector< std::array< double, 3 > > interpolateElementCoords | ( | MeshLib::Element const & | e, |
NumLib::ShapeMatrixCache const & | sm_cache ) |
Definition at line 23 of file ipDataToPointCloud.cpp.
References NumLib::ShapeMatrixCache::NsHigherOrder().
int main | ( | int | argc, |
char ** | argv ) |
Definition at line 220 of file ipDataToPointCloud.cpp.
References computePointCloudNodes(), copyDoubleValuedFieldDataToPointCloud(), determineIntegrationOrder(), GitInfoLib::GitInfo::ogs_version, MeshLib::IO::readMeshFromFile(), and MeshLib::IO::writeMeshToFile().