Skip to content
Snippets Groups Projects
Commit 0a51611a authored by Norihiro Watanabe's avatar Norihiro Watanabe Committed by Norihiro Watanabe
Browse files

[Utils/postLIE] convert to a linear mesh

# Conflicts:
#	Applications/Utils/PostProcessing/postLIE.cpp
parent 55039824
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,7 @@
#include "MeshLib/IO/writeMeshToFile.h"
#include "MeshLib/Mesh.h"
#include "MeshLib/MeshEditing/ConvertToLinearMesh.h"
#include "ProcessLib/LIE/Common/MeshUtils.h"
#include "ProcessLib/LIE/Common/PostUtils.h"
......@@ -69,6 +70,8 @@ int main (int argc, char* argv[])
std::unique_ptr<MeshLib::Mesh const> mesh(
MeshLib::IO::readMeshFromFile(org_vtu_filepath));
if (mesh->isNonlinear())
mesh = MeshLib::convertToLinearMesh(*mesh, mesh->getName());
// post-process
std::vector<MeshLib::Element*> vec_matrix_elements;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment