What is the role of pbar in CVODES?
The argument pbar to CVodeSetSensParams is used to specify scaling factors for the problem parameters. pbar is used only if ♦ the internal difference-quotient functions are used for the evaluation of the sensitivity right-hand sides, in which case pbar is used in computing an appropriate perturbation for the finite-difference approximation or ♦ the tolerances for the sensitivity variables are estimated automatically by CVODES from those specified for the state variables. If provided, pbar should be declared as an array of Ns realtypes and should contain non-zero scaling factors for the Ns parameters with respect to which sensitivities are to be computed.