mirror of
https://github.com/NGSolve/netgen.git
synced 2025-05-18 08:10:50 +05:00
syntax differences (space)
This commit is contained in:
parent
02be12e58b
commit
6a26d52343
@ -213,13 +213,13 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m)
|
|||||||
(*instance)[i] = py::extract<PointIndex>(vertices[i])();
|
(*instance)[i] = py::extract<PointIndex>(vertices[i])();
|
||||||
instance->SetIndex(index);
|
instance->SetIndex(index);
|
||||||
}
|
}
|
||||||
else if (py::len(vertices) == 5)
|
else if (py::len(vertices) == 5)
|
||||||
{
|
{
|
||||||
new (instance) Element(PYRAMID);
|
new (instance) Element(PYRAMID);
|
||||||
for (int i=0; i < 5; i++)
|
for (int i = 0; i < 5; i++)
|
||||||
(*instance)[i] = py::extract<PointIndex>(vertices[i])();
|
(*instance)[i] = py::extract<PointIndex>(vertices[i])();
|
||||||
instance->SetIndex(index);
|
instance->SetIndex(index);
|
||||||
}
|
}
|
||||||
else if (py::len(vertices) == 6)
|
else if (py::len(vertices) == 6)
|
||||||
{
|
{
|
||||||
new (instance) Element(PRISM);
|
new (instance) Element(PRISM);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user