mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
openmp3.1 check
This commit is contained in:
parent
ac698a245d
commit
325e1e315c
@ -2466,7 +2466,9 @@ namespace netgen
|
||||
double hminv = numeric_limits<double>::max();
|
||||
double hmaxv = -numeric_limits<double>::max();
|
||||
bool hhasit = false;
|
||||
#if defined _OPENMP && _OPENMP >= 201107
|
||||
#pragma omp parallel for reduction (max : hmaxv) reduction (min : hminv) reduction (|| : hhasit)
|
||||
#endif
|
||||
for (int i = 0; i < ne; i++)
|
||||
{
|
||||
double val;
|
||||
|
Loading…
Reference in New Issue
Block a user