X06AHF, for multi-threaded 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.
X06AHF is not threaded in any implementation.
See Section 10
in X06AGF for a demonstration of how to use X06AHF.