mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
Merge branch 'curve_after_mesh_refine' into 'master'
recalculate element curve coefficients after refine See merge request ngsolve/netgen!569
This commit is contained in:
commit
ea1b53eb20
@ -1187,7 +1187,10 @@ namespace netgen
|
||||
(*tracer)("call updatetop", false);
|
||||
mesh -> UpdateTopology(task_manager, tracer);
|
||||
(*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