mirror of
https://github.com/NGSolve/netgen.git
synced 2025-05-18 00:00:49 +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->SetIndex(index);
|
||||
}
|
||||
else if (py::len(vertices) == 5)
|
||||
{
|
||||
new (instance) Element(PYRAMID);
|
||||
for (int i=0; i < 5; i++)
|
||||
(*instance)[i] = py::extract<PointIndex>(vertices[i])();
|
||||
instance->SetIndex(index);
|
||||
}
|
||||
else if (py::len(vertices) == 5)
|
||||
{
|
||||
new (instance) Element(PYRAMID);
|
||||
for (int i = 0; i < 5; i++)
|
||||
(*instance)[i] = py::extract<PointIndex>(vertices[i])();
|
||||
instance->SetIndex(index);
|
||||
}
|
||||
else if (py::len(vertices) == 6)
|
||||
{
|
||||
new (instance) Element(PRISM);
|
||||
|
Loading…
x
Reference in New Issue
Block a user