fix wrong order of arguments

This commit is contained in:
Christopher Lackner 2016-12-05 15:37:05 +01:00
parent 181eea5038
commit 1f314ae0ee
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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>)