recalculate element curve coefficients after refine

This commit is contained in:
Christopher Lackner 2023-05-10 09:34:48 +02:00
parent 9c0eeb5370
commit b06b86bce3

View File

@ -1187,7 +1187,10 @@ namespace netgen
(*tracer)("call updatetop", false); (*tracer)("call updatetop", false);
mesh -> UpdateTopology(task_manager, tracer); mesh -> UpdateTopology(task_manager, tracer);
(*tracer)("call updatetop", true); (*tracer)("call updatetop", true);
mesh -> GetCurvedElements().SetIsHighOrder (false); if(mesh->GetCurvedElements().IsHighOrder())
mesh->GetCurvedElements()
.BuildCurvedElements(&mesh->GetGeometry()->GetRefinement(),
mesh->GetCurvedElements().GetOrder());
} }