, for multi-threaded implementations, tests whether the nesting of OpenMP parallel regions has been enabled as if with a call to nag_omp_set_nested (x06agc)
. The return value will be
if nesting is enabled or
if it is disabled.
In serial implementations of the NAG C Library nag_omp_get_nested (x06ahc)
will always return
. See the x06 Chapter Introduction
for a discussion of the behaviour of these functions when called in serial.
See Section 10
in nag_omp_set_nested (x06agc)
for a demonstration of how to use nag_omp_get_nested (x06ahc)