From 1b5aa71ad6a2ce90bbf63ba148ce0c3520876b40 Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Mon, 14 Jun 2021 10:34:39 +0200 Subject: [PATCH] fix parallel mesh pickling --- libsrc/meshing/meshclass.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libsrc/meshing/meshclass.cpp b/libsrc/meshing/meshclass.cpp index 4aa3162e..d678cc75 100644 --- a/libsrc/meshing/meshclass.cpp +++ b/libsrc/meshing/meshclass.cpp @@ -1506,6 +1506,12 @@ namespace netgen auto mynv = numglob; archive & mynv; // numvertices; archive & *ident; + + if(archive.GetVersion("netgen") >= "v6.2.2103-1") + { + archive.NeedsVersion("netgen", "v6.2.2103-1"); + archive & vol_partition & surf_partition & seg_partition; + } archive.Shallow(geometry); archive & *curvedelems;