wrf.omp_get_max_threads

wrf.omp_get_max_threads()

Return the maximum number of threads that can be used in a parallel region.

The omp_get_max_threads routine returns an upper bound on the number of threads that could be used to form a new team if a parallel construct without a num_threads clause were encountered after execution returns from this routine.

Returns:The number of threads in the current team.
Return type:int