mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 22:00:33 +05:00
recalculate element curve coefficients after refine
This commit is contained in:
parent
9c0eeb5370
commit
b06b86bce3
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user