mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-13 06:30:34 +05:00
non-constant Jacobians for non-simplicials
This commit is contained in:
parent
fcf5fd5fbb
commit
d0ba57fd3a
@ -906,7 +906,7 @@ namespace netgen
|
|||||||
el.SetIndex(hi);
|
el.SetIndex(hi);
|
||||||
infile >> nep;
|
infile >> nep;
|
||||||
el.SetNP(nep);
|
el.SetNP(nep);
|
||||||
|
el.SetCurved (nep != 4);
|
||||||
for (int j = 0; j < nep; j++)
|
for (int j = 0; j < nep; j++)
|
||||||
infile >> (int&)(el[j]);
|
infile >> (int&)(el[j]);
|
||||||
|
|
||||||
|
@ -993,7 +993,7 @@ namespace netgen
|
|||||||
default: cerr << "Element::Element: unknown element with " << np << " points" << endl;
|
default: cerr << "Element::Element: unknown element with " << np << " points" << endl;
|
||||||
}
|
}
|
||||||
orderx = ordery = orderz = 1;
|
orderx = ordery = orderz = 1;
|
||||||
is_curved = false;
|
is_curved = typ != TET; // false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Element :: SetOrder (const int aorder)
|
void Element :: SetOrder (const int aorder)
|
||||||
@ -1031,7 +1031,7 @@ namespace netgen
|
|||||||
flags.deleted = 0;
|
flags.deleted = 0;
|
||||||
flags.fixed = 0;
|
flags.fixed = 0;
|
||||||
orderx = ordery = orderz = 1;
|
orderx = ordery = orderz = 1;
|
||||||
is_curved = false;
|
is_curved = typ != TET; // false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user