curved attribute

This commit is contained in:
Joachim Schöberl 2018-11-17 20:57:53 +01:00
parent f023b1ac2f
commit 7a4d1f81fc

View File

@ -323,6 +323,7 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m)
"create surface element"
)
.def_property("index", &Element2d::GetIndex, &Element2d::SetIndex)
.def_property("curved", &Element2d::IsCurved, &Element2d::SetCurved)
.def_property_readonly("vertices",
FunctionPointer([](const Element2d & self) -> py::list
{