mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
Curve new elements in HPRefinement
Use correct check for curvature of TRIGs in VSSolution
This commit is contained in:
parent
bac288ab56
commit
dff550a48c
@ -1407,6 +1407,7 @@ namespace netgen
|
||||
el.SetIndex(hpel.index);
|
||||
if(setorders)
|
||||
el.SetOrder(act_ref+1,act_ref+1,0);
|
||||
el.SetCurved(true);
|
||||
mesh.AddSurfaceElement(el);
|
||||
break;
|
||||
}
|
||||
@ -1422,6 +1423,7 @@ namespace netgen
|
||||
el.hp_elnr = i;
|
||||
if(setorders)
|
||||
el.SetOrder(act_ref+1,act_ref+1,act_ref+1);
|
||||
el.SetCurved(true);
|
||||
mesh.AddVolumeElement(el);
|
||||
break;
|
||||
}
|
||||
|
@ -1651,7 +1651,7 @@ namespace netgen
|
||||
// NgProfiler::StopTimer(timer1c);
|
||||
|
||||
#else
|
||||
bool curved = curv.IsSurfaceElementCurved(sei);
|
||||
bool curved = (*mesh)[sei].IsCurved();
|
||||
|
||||
for (int iy = 0, ii = 0; iy <= n; iy++)
|
||||
for (int ix = 0; ix <= n-iy; ix++, ii++)
|
||||
|
Loading…
Reference in New Issue
Block a user