mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-13 14:40:35 +05:00
Merge branch 'archive_mesh_curving' into curved_splinesurface
This commit is contained in:
commit
3df31d513d
@ -1324,13 +1324,18 @@ namespace netgen
|
||||
if (geometry)
|
||||
geometry -> SaveToMeshFile (ost);
|
||||
archive << ost.str();
|
||||
archive << (geometry ? curvedelems->GetOrder() : 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
string str;
|
||||
archive & str;
|
||||
istringstream ist(str);
|
||||
geometry = geometryregister.LoadFromMeshFile (ist);
|
||||
geometry = geometryregister.LoadFromMeshFile (ist);
|
||||
int order;
|
||||
archive & order;
|
||||
if(geometry && order > 1)
|
||||
BuildCurvedElements(order);
|
||||
}
|
||||
|
||||
if (archive.Input())
|
||||
|
Loading…
Reference in New Issue
Block a user