mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-13 06:30:34 +05:00
remove perfstepsstart from python interface
This commit is contained in:
parent
7e4892a9e7
commit
f582c7935f
@ -591,21 +591,19 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m)
|
|||||||
.def(py::init<>())
|
.def(py::init<>())
|
||||||
.def("__init__",
|
.def("__init__",
|
||||||
[](MP *instance, double maxh, bool quad_dominated, int optsteps2d, int optsteps3d,
|
[](MP *instance, double maxh, bool quad_dominated, int optsteps2d, int optsteps3d,
|
||||||
int perfstepsstart, int perfstepsend)
|
int perfstepsend)
|
||||||
{
|
{
|
||||||
new (instance) MeshingParameters;
|
new (instance) MeshingParameters;
|
||||||
instance->maxh = maxh;
|
instance->maxh = maxh;
|
||||||
instance->quad = int(quad_dominated);
|
instance->quad = int(quad_dominated);
|
||||||
instance->optsteps2d = optsteps2d;
|
instance->optsteps2d = optsteps2d;
|
||||||
instance->optsteps3d = optsteps3d;
|
instance->optsteps3d = optsteps3d;
|
||||||
instance->perfstepsstart = perfstepsstart;
|
|
||||||
instance->perfstepsend = perfstepsend;
|
instance->perfstepsend = perfstepsend;
|
||||||
},
|
},
|
||||||
py::arg("maxh")=1000,
|
py::arg("maxh")=1000,
|
||||||
py::arg("quad_dominated")=false,
|
py::arg("quad_dominated")=false,
|
||||||
py::arg("optsteps2d") = 3,
|
py::arg("optsteps2d") = 3,
|
||||||
py::arg("optsteps3d") = 3,
|
py::arg("optsteps3d") = 3,
|
||||||
py::arg("perfstepsstart") = 0,
|
|
||||||
py::arg("perfstepsend") = 6,
|
py::arg("perfstepsend") = 6,
|
||||||
"create meshing parameters"
|
"create meshing parameters"
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user