Merge branch 'archive_mesh_curving' into 'master'

pickle curving of mesh

See merge request jschoeberl/netgen!105
This commit is contained in:
Joachim Schöberl 2018-12-13 17:08:31 +00:00
commit cdd871282e

View File

@ -1324,6 +1324,7 @@ namespace netgen
if (geometry)
geometry -> SaveToMeshFile (ost);
archive << ost.str();
archive << (geometry ? curvedelems->GetOrder() : 1);
}
else
{
@ -1331,6 +1332,10 @@ namespace netgen
archive & str;
istringstream ist(str);
geometry = geometryregister.LoadFromMeshFile (ist);
int order;
archive & order;
if(geometry && order > 1)
BuildCurvedElements(order);
}
if (archive.Input())