mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-27 21:30:35 +05:00
curved attribute
This commit is contained in:
parent
f023b1ac2f
commit
7a4d1f81fc
@ -323,6 +323,7 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m)
|
|||||||
"create surface element"
|
"create surface element"
|
||||||
)
|
)
|
||||||
.def_property("index", &Element2d::GetIndex, &Element2d::SetIndex)
|
.def_property("index", &Element2d::GetIndex, &Element2d::SetIndex)
|
||||||
|
.def_property("curved", &Element2d::IsCurved, &Element2d::SetCurved)
|
||||||
.def_property_readonly("vertices",
|
.def_property_readonly("vertices",
|
||||||
FunctionPointer([](const Element2d & self) -> py::list
|
FunctionPointer([](const Element2d & self) -> py::list
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user