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