OGS
|
A tool for post-processing results from the LIE approach
The tool creates a new mesh containing duplicated fracture nodes to represent geometric discontinuities in visualization.
Definition at line 30 of file PostUtils.h.
#include <PostUtils.h>
Public Member Functions | |
PostProcessTool (MeshLib::Mesh const &org_mesh, std::vector< int > const &vec_fracture_mat_IDs, std::vector< std::vector< MeshLib::Node * > > const &vec_vec_fracture_nodes, std::vector< std::vector< MeshLib::Element * > > const &vec_vec_fracture_matrix_elements, std::vector< std::pair< std::size_t, std::vector< int > > > const &vec_branch_nodeID_matIDs, std::vector< std::pair< std::size_t, std::vector< int > > > const &vec_junction_nodeID_matIDs) | |
MeshLib::Mesh const & | getOutputMesh () const |
Private Member Functions | |
template<typename T > | |
MeshLib::PropertyVector< T > * | createProperty (MeshLib::PropertyVector< T > const &property) |
template<typename T > | |
void | copyPropertyValues (MeshLib::PropertyVector< T > const &source_property, MeshLib::PropertyVector< T > *const destination_property) |
void | calculateTotalDisplacement (unsigned const n_fractures, unsigned const n_junctions) |
Private Attributes | |
MeshLib::Mesh const & | _org_mesh |
std::unique_ptr< MeshLib::Mesh > | _output_mesh |
std::map< std::size_t, std::vector< std::size_t > > | _map_dup_newNodeIDs |
ProcessLib::LIE::PostProcessTool::PostProcessTool | ( | MeshLib::Mesh const & | org_mesh, |
std::vector< int > const & | vec_fracture_mat_IDs, | ||
std::vector< std::vector< MeshLib::Node * > > const & | vec_vec_fracture_nodes, | ||
std::vector< std::vector< MeshLib::Element * > > const & | vec_vec_fracture_matrix_elements, | ||
std::vector< std::pair< std::size_t, std::vector< int > > > const & | vec_branch_nodeID_matIDs, | ||
std::vector< std::pair< std::size_t, std::vector< int > > > const & | vec_junction_nodeID_matIDs ) |
Definition at line 45 of file PostUtils.cpp.
References _map_dup_newNodeIDs, _org_mesh, _output_mesh, calculateTotalDisplacement(), MeshLib::copyElementVector(), MeshLib::copyNodeVector(), copyPropertyValues(), createProperty(), BaseLib::findFirstNotEqualElement(), BaseLib::findIndex(), MeshLib::Mesh::getDimension(), MeshLib::Mesh::getElements(), MeshLib::Mesh::getName(), MeshLib::Mesh::getNode(), MeshLib::Mesh::getNodes(), MeshLib::Element::getNumberOfNodes(), MeshLib::Mesh::getProperties(), MeshLib::Properties::getPropertyVector(), MeshLib::Properties::hasPropertyVector(), MeshLib::Node, OGS_FATAL, and MeshLib::Element::setNode().
|
private |
Definition at line 382 of file PostUtils.cpp.
References _output_mesh, and MeshLib::Node.
Referenced by PostProcessTool().
|
private |
Definition at line 329 of file PostUtils.cpp.
References _map_dup_newNodeIDs, _org_mesh, MeshLib::Cell, MeshLib::PropertyVectorBase::getMeshItemType(), MeshLib::PropertyVectorBase::getNumberOfGlobalComponents(), MeshLib::Mesh::getNumberOfNodes(), MeshLib::PropertyVectorBase::getPropertyName(), MeshLib::Node, OGS_FATAL, and MeshLib::PropertyVector< PROP_VAL_TYPE >::size().
Referenced by PostProcessTool().
|
private |
Definition at line 293 of file PostUtils.cpp.
References _output_mesh, MeshLib::Cell, MeshLib::PropertyVectorBase::getMeshItemType(), MeshLib::getOrCreateMeshProperty(), MeshLib::PropertyVectorBase::getPropertyName(), MeshLib::Node, and WARN().
Referenced by PostProcessTool().
|
inline |
Definition at line 44 of file PostUtils.h.
References _output_mesh.
Referenced by anonymous_namespace{postLIE.cpp}::postVTU().
|
private |
Definition at line 59 of file PostUtils.h.
Referenced by PostProcessTool(), and copyPropertyValues().
|
private |
Definition at line 57 of file PostUtils.h.
Referenced by PostProcessTool(), and copyPropertyValues().
|
private |
Definition at line 58 of file PostUtils.h.
Referenced by PostProcessTool(), calculateTotalDisplacement(), createProperty(), and getOutputMesh().