quads are curved (in general)

This commit is contained in:
Joachim Schöberl 2016-12-06 21:54:40 +01:00
parent 93d16ed1c3
commit bb85bb01a3

View File

@ -344,6 +344,7 @@ namespace netgen
default: default:
PrintSysError ("Element2d::SetType, illegal type ", int(typ)); PrintSysError ("Element2d::SetType, illegal type ", int(typ));
} }
is_curved = (np >= 4);
} }
/// ///
int GetNP() const { return np; } int GetNP() const { return np; }