remove onlySurface again (use MeshingSteps instead)

This commit is contained in:
Christopher Lackner 2016-12-05 14:59:44 +01:00
parent a0326d490d
commit 16ecf99cce
3 changed files with 1 additions and 6 deletions

View File

@ -794,9 +794,6 @@ namespace netgen
if (multithread.terminate || perfstepsend <= MESHCONST_OPTSURFACE)
return TCL_OK;
if(mparam.onlySurface)
return TCL_OK;
if (perfstepsstart <= MESHCONST_MESHVOLUME)
{
multithread.task = "Volume meshing";

View File

@ -1112,7 +1112,6 @@ namespace netgen
bool check_impossible = 0;
int only3D_domain_nr = -1;
bool onlySurface = false;
///
int secondorder = 0;

View File

@ -591,7 +591,7 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m)
.def(py::init<>())
.def("__init__",
[](MP *instance, double maxh, bool quad_dominated, int optsteps2d, int optsteps3d,
int only3D_domain, bool onlySurface)
int only3D_domain)
{
new (instance) MeshingParameters;
instance->maxh = maxh;
@ -599,7 +599,6 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m)
instance->optsteps2d = optsteps2d;
instance->optsteps3d = optsteps3d;
instance->only3D_domain_nr = only3D_domain;
instance->onlySurface = onlySurface;
},
py::arg("maxh")=1000,
py::arg("quad_dominated")=false,