mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 22:20:35 +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);
|
||||
infile >> nep;
|
||||
el.SetNP(nep);
|
||||
|
||||
el.SetCurved (nep != 4);
|
||||
for (int j = 0; j < nep; j++)
|
||||
infile >> (int&)(el[j]);
|
||||
|
||||
|
@ -993,7 +993,7 @@ namespace netgen
|
||||
default: cerr << "Element::Element: unknown element with " << np << " points" << endl;
|
||||
}
|
||||
orderx = ordery = orderz = 1;
|
||||
is_curved = false;
|
||||
is_curved = typ != TET; // false;
|
||||
}
|
||||
|
||||
void Element :: SetOrder (const int aorder)
|
||||
@ -1031,7 +1031,7 @@ namespace netgen
|
||||
flags.deleted = 0;
|
||||
flags.fixed = 0;
|
||||
orderx = ordery = orderz = 1;
|
||||
is_curved = false;
|
||||
is_curved = typ != TET; // false;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user