Fix mesh curving

This commit is contained in:
Matthias Hochsteger 2019-10-28 16:26:11 +01:00
parent 656c8fa29d
commit 66618fa08a
2 changed files with 2 additions and 2 deletions

View File

@ -539,7 +539,7 @@ namespace netgen
CurvedElements :: CurvedElements (const Mesh & amesh)
: mesh(amesh), geo(*mesh.GetGeometry())
: mesh(amesh)
{
order = 1;
rational = 0;
@ -555,6 +555,7 @@ namespace netgen
void CurvedElements :: BuildCurvedElements(const Refinement * ref, int aorder,
bool arational)
{
auto & geo = *mesh.GetGeometry();
ishighorder = 0;
order = 1;

View File

@ -17,7 +17,6 @@ class Refinement;
class CurvedElements
{
const Mesh & mesh;
const NetgenGeometry& geo;
NgArray<int> edgeorder;
NgArray<int> faceorder;