mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
Python support for PRISM
This commit is contained in:
parent
0d0a7c5af3
commit
a18ac184b2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user