bos #26656 [CEA] NETGEN/NETGENPLUGIN abnormal calculation duration
Enable switching off the parallel meshing
This commit is contained in:
parent
004d9b9ee8
commit
11f59dea0b
@ -604,6 +604,12 @@ void NETGENPlugin_Mesher::SetDefaultParameters()
|
|||||||
|
|
||||||
mparams.nthreads = std::thread::hardware_concurrency();
|
mparams.nthreads = std::thread::hardware_concurrency();
|
||||||
|
|
||||||
|
if ( getenv( "SALOME_NETGEN_DISABLE_MULTITHREADING" ))
|
||||||
|
{
|
||||||
|
mparams.nthreads = 1;
|
||||||
|
mparams.parallel_meshing = false;
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user