wrf.omp_get_active_level

wrf.omp_get_active_level()

Return the value of the active-level-vars ICV.

The effect of the omp_get_active_level routine is to return the number of nested, active parallel regions enclosing the current task such that all of the parallel regions are enclosed by the outermost initial task region on the current device.

Returns:

The number of nested activate parallel regions.

Return type:

int