mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 22:20:35 +05:00
Fix mesh curving
This commit is contained in:
parent
656c8fa29d
commit
66618fa08a
@ -539,7 +539,7 @@ namespace netgen
|
|||||||
|
|
||||||
|
|
||||||
CurvedElements :: CurvedElements (const Mesh & amesh)
|
CurvedElements :: CurvedElements (const Mesh & amesh)
|
||||||
: mesh(amesh), geo(*mesh.GetGeometry())
|
: mesh(amesh)
|
||||||
{
|
{
|
||||||
order = 1;
|
order = 1;
|
||||||
rational = 0;
|
rational = 0;
|
||||||
@ -555,6 +555,7 @@ namespace netgen
|
|||||||
void CurvedElements :: BuildCurvedElements(const Refinement * ref, int aorder,
|
void CurvedElements :: BuildCurvedElements(const Refinement * ref, int aorder,
|
||||||
bool arational)
|
bool arational)
|
||||||
{
|
{
|
||||||
|
auto & geo = *mesh.GetGeometry();
|
||||||
|
|
||||||
ishighorder = 0;
|
ishighorder = 0;
|
||||||
order = 1;
|
order = 1;
|
||||||
|
@ -17,7 +17,6 @@ class Refinement;
|
|||||||
class CurvedElements
|
class CurvedElements
|
||||||
{
|
{
|
||||||
const Mesh & mesh;
|
const Mesh & mesh;
|
||||||
const NetgenGeometry& geo;
|
|
||||||
|
|
||||||
NgArray<int> edgeorder;
|
NgArray<int> edgeorder;
|
||||||
NgArray<int> faceorder;
|
NgArray<int> faceorder;
|
||||||
|
Loading…
Reference in New Issue
Block a user