mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
Interface can now give curve order of mesh
This commit is contained in:
parent
1d62ca31ac
commit
672ce3f3f2
@ -343,6 +343,7 @@ namespace netgen
|
|||||||
void SetRefinementFlag (size_t elnr, bool flag);
|
void SetRefinementFlag (size_t elnr, bool flag);
|
||||||
|
|
||||||
void Curve (int order);
|
void Curve (int order);
|
||||||
|
int GetCurveOrder ();
|
||||||
|
|
||||||
void Refine (NG_REFINEMENT_TYPE reftype,
|
void Refine (NG_REFINEMENT_TYPE reftype,
|
||||||
void (*taskmanager)(function<void(int,int)>) = &DummyTaskManager2,
|
void (*taskmanager)(function<void(int,int)>) = &DummyTaskManager2,
|
||||||
|
@ -1134,6 +1134,10 @@ namespace netgen
|
|||||||
mesh->BuildCurvedElements(order);
|
mesh->BuildCurvedElements(order);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int Ngx_Mesh :: GetCurveOrder ()
|
||||||
|
{
|
||||||
|
return mesh->GetCurvedElements().GetOrder();
|
||||||
|
}
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
DLL_HEADER void Ngx_Mesh :: SetRefinementFlag<2> (size_t elnr, bool flag)
|
DLL_HEADER void Ngx_Mesh :: SetRefinementFlag<2> (size_t elnr, bool flag)
|
||||||
|
Loading…
Reference in New Issue
Block a user