Python support for PRISM

This commit is contained in:
Gerhard Kitzler 2016-08-11 17:28:55 +02:00
parent 0d0a7c5af3
commit a18ac184b2

View File

@ -126,6 +126,14 @@ DLL_HEADER void ExportNetgenMeshing()
tmp->SetIndex(index);
return tmp;
}
if (bp::len(vertices) == 6)
{
Element * tmp = new Element(PRISM);
for (int i = 0; i < 6; i++)
(*tmp)[i] = bp::extract<PointIndex>(vertices[i]);
tmp->SetIndex(index);
return tmp;
}
if (bp::len(vertices) == 8)
{
Element * tmp = new Element(HEX);