wrf.omp_get_level

wrf.omp_get_level()

Return the value of the levels-var ICV.

The effect of the omp_get_level routine is to return the number of nested parallel regions (whether active or inactive) 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 parallel regions.
Return type:int