From a3d7be7e790d71775df2ebf8f3684098e49751d0 Mon Sep 17 00:00:00 2001 From: Christopher Lackner Date: Thu, 22 Nov 2018 16:23:23 +0100 Subject: [PATCH] pickle curving of mesh --- libsrc/meshing/meshclass.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libsrc/meshing/meshclass.cpp b/libsrc/meshing/meshclass.cpp index c93742fd..89d698c3 100644 --- a/libsrc/meshing/meshclass.cpp +++ b/libsrc/meshing/meshclass.cpp @@ -1330,7 +1330,8 @@ namespace netgen string str; archive & str; istringstream ist(str); - geometry = geometryregister.LoadFromMeshFile (ist); + geometry = geometryregister.LoadFromMeshFile (ist); + archive << curvedelems->GetOrder(); } if (archive.Input()) @@ -1343,6 +1344,9 @@ namespace netgen topology.Update(); clusters -> Update(); } + int order; + archive << order; + BuildCurvedElements(order); SetNextMajorTimeStamp(); } }