mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 13:30:34 +05:00
redo second order-refinement after uniform refinement
This commit is contained in:
parent
13f4f8d202
commit
f99db8c784
@ -302,6 +302,12 @@ namespace netgen
|
||||
Swap (pnum[1], pnum[2]);
|
||||
break;
|
||||
}
|
||||
case TRIG6:
|
||||
{
|
||||
Swap (pnum[1], pnum[2]);
|
||||
Swap (pnum[4], pnum[5]);
|
||||
break;
|
||||
}
|
||||
case QUAD:
|
||||
{
|
||||
Swap (pnum[0], pnum[3]);
|
||||
|
@ -1802,6 +1802,10 @@ namespace netgen
|
||||
ng_geometry -> GetRefinement().Refine(*mesh);
|
||||
}
|
||||
|
||||
//redo second order refinement if desired
|
||||
if (mparam.secondorder)
|
||||
const_cast<Refinement&> (ng_geometry->GetRefinement()).MakeSecondOrder(*mesh);
|
||||
|
||||
return TCL_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user