, for multithreaded implementations, tests whether the nesting of OpenMP parallel regions has been enabled as if with a call to x06agf
. The return value will be
if nesting is enabled or
if it is disabled.
Note the equivalent OpenMP routine omp_get_nested() returns a logical value.
In serial implementations of the NAG Library x06ahf
will always return
. See the X06 Chapter Introduction
for a discussion of the behaviour of these routines when called in serial.
See Section 10
for a demonstration of how to use x06ahf