![]() |
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 44 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(), ProcessLib::LIE::anonymous_namespace{PostUtils.cpp}::getMaterialIdsForNode(), MeshLib::Mesh::getName(), MeshLib::Mesh::getNode(), MeshLib::getNodeIndex(), MeshLib::Mesh::getNodes(), MeshLib::Element::getNumberOfNodes(), MeshLib::Mesh::getProperties(), MeshLib::Properties::getPropertyVector(), MeshLib::Properties::hasPropertyVector(), ProcessLib::LIE::anonymous_namespace{PostUtils.cpp}::includesNodeID(), MaterialPropertyLib::name, OGS_FATAL, and MeshLib::Element::setNode().
|
private |
Definition at line 376 of file PostUtils.cpp.
References _output_mesh, MathLib::LinAlg::copy(), MeshLib::getNodeIndex(), and MeshLib::Node.
Referenced by PostProcessTool().
|
private |
Definition at line 323 of file PostUtils.cpp.
References _map_dup_newNodeIDs, _org_mesh, MeshLib::Cell, MathLib::LinAlg::copy(), MeshLib::PropertyVectorBase::getMeshItemType(), MeshLib::PropertyVectorBase::getNumberOfGlobalComponents(), MeshLib::Mesh::getNumberOfNodes(), MeshLib::PropertyVectorBase::getPropertyName(), MeshLib::Node, OGS_FATAL, MeshLib::PropertyVector< PROP_VAL_TYPE >::size(), and MaterialLib::Solids::MFront::toString().
Referenced by PostProcessTool().
|
private |
Definition at line 287 of file PostUtils.cpp.
References _output_mesh, MeshLib::Cell, MeshLib::PropertyVectorBase::getMeshItemType(), MeshLib::PropertyVectorBase::getPropertyName(), MeshLib::Node, MaterialLib::Solids::MFront::toString(), 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().