mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-13 22:50:33 +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);
|
tmp->SetIndex(index);
|
||||||
return tmp;
|
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)
|
if (bp::len(vertices) == 8)
|
||||||
{
|
{
|
||||||
Element * tmp = new Element(HEX);
|
Element * tmp = new Element(HEX);
|
||||||
|
Loading…
Reference in New Issue
Block a user