CppAD: A C++ Algorithmic Differentiation Package 20110419
template<class Base >
user_atomic< Base >::user_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 name_, f_, r_, and index_.

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.

Definition at line 848 of file user_atomic.hpp.