wrf.omp_get_dynamic¶
- wrf.omp_get_dynamic()¶
Return the value of the dyn-var ICV, which determines whether dynamic adjustment of the number of threads is enabled or disabled.
This routine returns 1 if dynamic adjustment of the number of threads is enabled for the current task; it returns 0, otherwise. If an implementation does not support dynamic adjustment of the number of threads, then this routine always returns 0.
- Returns:
Returns 1 if dynamic thread adjustment is enabled, 0 if disabled.
- Return type:
See also