mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
Merge branch 'export_curve_order' into 'master'
Interface can now give curve order of mesh See merge request jschoeberl/netgen!314
This commit is contained in:
commit
612b5bb75a
@ -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