mirror of
https://github.com/NGSolve/netgen.git
synced 2025-03-04 00:45:40 +05:00
threadsafe
This commit is contained in:
parent
a582fc6231
commit
fa83527ce5
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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)
|
||||||
{
|
{
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user