rxControlUpdateSens {rxode2} | R Documentation |
This updates the tolerances based on the sensitivity equations
Description
This assumes the normal ODE equations are the first equations and the ODE is expanded by the forward sensitivities or other type of sensitivity (like adjoint)
Usage
rxControlUpdateSens(rxControl, sensCmt = NULL, ncmt = NULL)
Arguments
rxControl |
Input list or rxControl type of list |
sensCmt |
Number of sensitivity compartments |
ncmt |
Number of compartments |
Value
Updated rxControl where $atol
, $rtol
, $ssAtol
$ssRtol
are updated with different sensitivities for the normal
ODEs (first) and a different sensitivity for the larger
compartments (sensitivities).
Author(s)
Matthew L. Fidler
Examples
tmp <- rxControl()
tmp2 <- rxControlUpdateSens(tmp, 3, 6)
tmp2$atol
tmp2$rtol
tmp2$ssAtol
tmp2$ssRtol
[Package rxode2 version 2.1.3 Index]