bos #26656 [CEA] NETGEN/NETGENPLUGIN abnormal calculation duration

Enable switching off the parallel meshing
This commit is contained in:
eap 2021-12-01 14:18:12 +03:00 committed by vsr
parent 004d9b9ee8
commit 11f59dea0b

View File

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