CppAD: A C++ Algorithmic Differentiation Package  20130102
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.
This constructor can not be used in parallel mode because the object it constructs is static. In addition, it changes the static object List.

Definition at line 914 of file user_atomic.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines