| 84 | } |
| 85 | |
| 86 | int AsagiModule::getTotalThreads() { |
| 87 | int totalThreads = 1; |
| 88 | |
| 89 | #ifdef _OPENMP |
| 90 | totalThreads = omp_get_max_threads(); |
| 91 | if (seissol::useCommThread(seissol::MPI::mpi)) { |
| 92 | totalThreads++; |
| 93 | } |
| 94 | #endif // _OPENMP |
| 95 | |
| 96 | return totalThreads; |
| 97 | } |
| 98 | |
| 99 | void AsagiModule::preMPI() { |
| 100 | // Communication threads required |
nothing calls this directly
no test coverage detected