threadsafe

This commit is contained in:
Joachim Schoeberl 2011-07-25 08:57:49 +00:00
parent a582fc6231
commit fa83527ce5
2 changed files with 4 additions and 4 deletions

View File

@ -791,7 +791,7 @@ namespace netgen
MESHING2_RESULT res; MESHING2_RESULT res;
try { try {
res = meshing.GenerateMesh (mesh, maxh, k); res = meshing.GenerateMesh (mesh, mparam, maxh, k);
} }
catch (SingularMatrixException) catch (SingularMatrixException)
@ -936,7 +936,7 @@ namespace netgen
meshopt.SetWriteStatus (0); meshopt.SetWriteStatus (0);
// (*testout) << "ImproveMesh (mesh)" << endl; // (*testout) << "ImproveMesh (mesh)" << endl;
meshopt.ImproveMesh (mesh); meshopt.ImproveMesh (mesh, mparam);
} }
{ {
@ -961,7 +961,7 @@ namespace netgen
meshopt.SetWriteStatus (0); meshopt.SetWriteStatus (0);
// (*testout) << "ImproveMesh (mesh)" << endl; // (*testout) << "ImproveMesh (mesh)" << endl;
meshopt.ImproveMesh (mesh); meshopt.ImproveMesh (mesh, mparam);
} }
} }

View File

@ -377,7 +377,7 @@ namespace netgen
Meshing2OCCSurfaces :: Meshing2OCCSurfaces (const TopoDS_Shape & asurf, Meshing2OCCSurfaces :: Meshing2OCCSurfaces (const TopoDS_Shape & asurf,
const Box<3> & abb, int aprojecttype) const Box<3> & abb, int aprojecttype)
: Meshing2(Box<3>(abb.PMin(), abb.PMax())), surface(TopoDS::Face(asurf), aprojecttype) : Meshing2(mparam, Box<3>(abb.PMin(), abb.PMax())), surface(TopoDS::Face(asurf), aprojecttype)
{ {
; ;
} }