diff --git a/MeshLib/MeshGenerators/QuadraticMeshGenerator.cpp b/MeshLib/MeshGenerators/QuadraticMeshGenerator.cpp index 912da9d70a51d0a8bd8ad00da86a854b5e5f790d..65837ab12b50d498b1bb5bf9f94fcbf51e5fc5f1 100644 --- a/MeshLib/MeshGenerators/QuadraticMeshGenerator.cpp +++ b/MeshLib/MeshGenerators/QuadraticMeshGenerator.cpp @@ -13,6 +13,7 @@ #include "MeshLib/Elements/Hex.h" #include "MeshLib/Elements/Line.h" #include "MeshLib/Elements/Quad.h" +#include "MeshLib/Elements/Tet.h" #include "MeshLib/Elements/Tri.h" #include "MeshLib/MeshEditing/DuplicateMeshComponents.h" #include "MeshLib/Node.h" @@ -58,6 +59,10 @@ std::unique_ptr<MeshLib::Element> createQuadraticElement( { return convertLinearToQuadratic<MeshLib::Tri6>(e); } + if (e.getCellType() == MeshLib::CellType::TET4) + { + return convertLinearToQuadratic<MeshLib::Tet10>(e); + } if (e.getCellType() == MeshLib::CellType::QUAD4) { return convertLinearToQuadratic<MeshLib::Quad8>(e);