CppAD: A C++ Algorithmic Differentiation Package 20110419
template<class Base >
ADTape< Base > ** AD< Base >::tape_handle ( size_t  thread) [inline, static, private]

Get a handle to the tape that records AD<Base> operations for the specified thread.

Template Parameters:
Baseis the base type corresponding to AD<Base> operations.
Parameters:
threadis the index that identifes the current OpenMP thread. If _OPENMP is not defined, thread must be zero. 0 <= thread < omp_max_thread(0).
Returns:
The return value r is a handle to the tape that records AD<Base> operations for the current thread. This can be used to, create, get, or delete, the AD<Base> tape corresponding to the current thread. If *r == CPPAD_NULL, there is no tape currently recording AD<Base> operations for the specified thread.

Definition at line 100 of file tape_link.hpp.