mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-27 13:20:34 +05:00
remove onlySurface again (use MeshingSteps instead)
This commit is contained in:
parent
a0326d490d
commit
16ecf99cce
@ -794,9 +794,6 @@ namespace netgen
|
|||||||
if (multithread.terminate || perfstepsend <= MESHCONST_OPTSURFACE)
|
if (multithread.terminate || perfstepsend <= MESHCONST_OPTSURFACE)
|
||||||
return TCL_OK;
|
return TCL_OK;
|
||||||
|
|
||||||
if(mparam.onlySurface)
|
|
||||||
return TCL_OK;
|
|
||||||
|
|
||||||
if (perfstepsstart <= MESHCONST_MESHVOLUME)
|
if (perfstepsstart <= MESHCONST_MESHVOLUME)
|
||||||
{
|
{
|
||||||
multithread.task = "Volume meshing";
|
multithread.task = "Volume meshing";
|
||||||
|
@ -1112,7 +1112,6 @@ namespace netgen
|
|||||||
bool check_impossible = 0;
|
bool check_impossible = 0;
|
||||||
|
|
||||||
int only3D_domain_nr = -1;
|
int only3D_domain_nr = -1;
|
||||||
bool onlySurface = false;
|
|
||||||
|
|
||||||
///
|
///
|
||||||
int secondorder = 0;
|
int secondorder = 0;
|
||||||
|
@ -591,7 +591,7 @@ 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 only3D_domain, bool onlySurface)
|
int only3D_domain)
|
||||||
{
|
{
|
||||||
new (instance) MeshingParameters;
|
new (instance) MeshingParameters;
|
||||||
instance->maxh = maxh;
|
instance->maxh = maxh;
|
||||||
@ -599,7 +599,6 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m)
|
|||||||
instance->optsteps2d = optsteps2d;
|
instance->optsteps2d = optsteps2d;
|
||||||
instance->optsteps3d = optsteps3d;
|
instance->optsteps3d = optsteps3d;
|
||||||
instance->only3D_domain_nr = only3D_domain;
|
instance->only3D_domain_nr = only3D_domain;
|
||||||
instance->onlySurface = onlySurface;
|
|
||||||
},
|
},
|
||||||
py::arg("maxh")=1000,
|
py::arg("maxh")=1000,
|
||||||
py::arg("quad_dominated")=false,
|
py::arg("quad_dominated")=false,
|
||||||
|
Loading…
Reference in New Issue
Block a user