diff --git a/libsrc/meshing/meshclass.cpp b/libsrc/meshing/meshclass.cpp index e76b81b8..85106adb 100644 --- a/libsrc/meshing/meshclass.cpp +++ b/libsrc/meshing/meshclass.cpp @@ -1839,6 +1839,7 @@ namespace netgen archive & surfelements; archive & volelements; archive & segments; + archive & pointelements; archive & facedecoding; archive & materials & bcnames & cd2names & cd3names; archive & numvertices; diff --git a/libsrc/meshing/meshtype.cpp b/libsrc/meshing/meshtype.cpp index 5cd45321..f5dcfbe1 100644 --- a/libsrc/meshing/meshtype.cpp +++ b/libsrc/meshing/meshtype.cpp @@ -145,6 +145,10 @@ namespace netgen + void Element0d :: DoArchive (Archive & ar) + { + ar & pnum & index; + } Segment :: Segment() : is_curved(false) diff --git a/libsrc/meshing/meshtype.hpp b/libsrc/meshing/meshtype.hpp index d814b850..bf044082 100644 --- a/libsrc/meshing/meshtype.hpp +++ b/libsrc/meshing/meshtype.hpp @@ -1164,6 +1164,7 @@ namespace netgen Element0d () = default; Element0d (PointIndex _pnum, int _index) : pnum(_pnum), index(_index) { ; } + void DoArchive (Archive & ar); }; ostream & operator<<(ostream & s, const Element0d & el);