mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
fix wrong order of arguments
This commit is contained in:
parent
181eea5038
commit
1f314ae0ee
@ -68,7 +68,7 @@ void MeshOptimize3d :: CombineImprove (Mesh & mesh,
|
||||
for (ElementIndex ei = 0; ei < ne; ei++)
|
||||
{
|
||||
if(mesh.GetDimension()==3 && mp.only3D_domain_nr && mp.only3D_domain_nr != mesh.VolumeElement(ei).GetIndex())
|
||||
continue;
|
||||
continue;
|
||||
if (multithread.terminate)
|
||||
break;
|
||||
|
||||
@ -314,7 +314,7 @@ void MeshOptimize3d :: SplitImprove (Mesh & mesh,
|
||||
for (ei = 0; ei < ne; ei++)
|
||||
{
|
||||
if(mesh.GetDimension()==3 && mp.only3D_domain_nr && mp.only3D_domain_nr != mesh.VolumeElement(ei).GetIndex())
|
||||
continue;
|
||||
continue;
|
||||
elerrs[ei] = CalcBad (mesh.Points(), mesh[ei], 0);
|
||||
bad1 += elerrs[ei];
|
||||
if (elerrs[ei] > badmax) badmax = elerrs[ei];
|
||||
@ -360,7 +360,7 @@ void MeshOptimize3d :: SplitImprove (Mesh & mesh,
|
||||
for (ei = 0; ei < ne; ei++)
|
||||
{
|
||||
if(mesh.GetDimension()==3 && mp.only3D_domain_nr && mp.only3D_domain_nr != mesh.VolumeElement(ei).GetIndex())
|
||||
continue;
|
||||
continue;
|
||||
if (multithread.terminate)
|
||||
break;
|
||||
|
||||
|
@ -611,8 +611,8 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m)
|
||||
py::arg("quad_dominated")=false,
|
||||
py::arg("optsteps2d") = 3,
|
||||
py::arg("optsteps3d") = 3,
|
||||
py::arg("only3D_domain") = 0,
|
||||
py::arg("perfstepsend") = MESHCONST_OPTVOLUME,
|
||||
py::arg("only3D_domain") = 0,
|
||||
"create meshing parameters"
|
||||
)
|
||||
.def("__str__", &ToString<MP>)
|
||||
|
Loading…
Reference in New Issue
Block a user