CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
template<class Base >
CppAD::old_atomic< Base >::old_atomic ( const char *  afun,
F  f,
R  r,
FJS  fjs,
RJS  rjs,
RHS  rhs 
)
inline

Constructor called for each invocation of CPPAD_USER_ATOMIC.

Put this object in the list of all objects for this class and set the constant private data f_, r_, fjs_, rjs_, rhs_.

Parameters
afunis the user's name for the AD version of this atomic operation.
fuser routine that does forward mode calculations for this operation.
ruser routine that does reverse mode calculations for this operation.
fjsuser routine that does forward Jacobian sparsity calculations.
rjsuser routine that does reverse Jacobian sparsity calculations.
rhsuser routine that does reverse Hessian sparsity calculations.
This constructor can not be used in parallel mode because atomic_base has this restriction.

Definition at line 930 of file old_atomic.hpp.