wrf.omp_get_num_threads¶
- wrf.omp_get_num_threads()¶
Return the number of threads in the current team.
The omp_get_num_threads routine returns the number of threads in the team executing the parallel region to which the routine region binds. If called from the sequential part of a program, this routine returns 1.
Note
This function always returns 1 when called from within Python.
- Returns:
The number of threads in the current team.
- Return type: