Pointer for the tape for this AD<Base> class and the specified tape identifier.
- Template Parameters:
-
Base | is the base type corresponding to AD<Base> operations. |
- Parameters:
-
tape_id | is the identifier for the tape that is currently recording AD<Base> operations for the current thread. It must hold that the current thread is and that there is a tape recording AD<Base> operations for this thread. If this is not the currently executing thread, a variable from a different thread is being recorded on the tape for this thread which is a user error. |
- Returns:
- is a pointer to the tape that is currently recording AD<Base> operations for the current thread (and it is not
CPPAD_NULL
).
- Restrictions
- This routine should only be called if there is a tape recording operaitons for the specified thread.
Definition at line 167 of file tape_link.hpp.