sundialsTB, a Matlab Interface to SUNDIALS - Site Index Page ...
sundialsTB, a Matlab Interface to SUNDIALS - Site Index Page ...
sundialsTB, a Matlab Interface to SUNDIALS - Site Index Page ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>to</strong> (centered or forward) finite differences, respectively.<br />
ASANumDataPoints - Number of data points for ASA [ integer | 100 ]<br />
Specifies the (maximum) number of integration steps between two consecutive<br />
check points.<br />
ASAInterpType - Type of interpolation [ Hermite ]<br />
Specifies the type of interpolation used for estimating the forward solution<br />
during the backward integration phase. At this time, the only option is<br />
’Hermite’, specifying cubic Hermite interpolation.<br />
Moni<strong>to</strong>rFn - User-provied moni<strong>to</strong>ring function [ function ]<br />
Specifies a function that is called after each successful integration step.<br />
This function must have type CVMoni<strong>to</strong>rFn. A simple moni<strong>to</strong>ring function,<br />
CVodeMoni<strong>to</strong>r is provided with CVODES.<br />
Moni<strong>to</strong>rData - User-provied data for the moni<strong>to</strong>ring function [ struct ]<br />
Specifies a data structure that is passed <strong>to</strong> the Moni<strong>to</strong>r function every time<br />
it is called.<br />
See also<br />
CVRootFn, CVQuadRhsFn<br />
CVSensRhsFn, CVSensRhs1Fn<br />
CVDenseJacFn, CVBandJacFn, CVJacTimesVecFn<br />
CVPrecSetupFn, CVPrecSolveFn<br />
CVGlocalFn, CVGcommFn<br />
CVMoni<strong>to</strong>rFn<br />
Purpose<br />
CVodeMalloc<br />
CVodeMalloc allocates and initializes memory for CVODES.<br />
Synopsis<br />
function [] = CVodeMalloc(fct,t0,y0,varargin)<br />
Description<br />
CVodeMalloc allocates and initializes memory for CVODES.<br />
Usage: CVodeMalloc ( ODEFUN, T0, Y0 [, OPTIONS [, DATA] ] )<br />
ODEFUN is a function defining the ODE right-hand side: y’ = f(t,y).<br />
This function must return a vec<strong>to</strong>r containing the current<br />
value of the righ-hand side.<br />
T0 is the initial value of t.<br />
Y0 is the initial condition vec<strong>to</strong>r y(t0).<br />
OPTIONS is an (optional) set of integration options, created with<br />
the CVodeSetOptions function.<br />
DATA is (optional) problem data passed unmodified <strong>to</strong> all<br />
user-provided functions when they are called. For example,<br />
YD = ODEFUN(T,Y,DATA).<br />
See also: CVRhsFn<br />
9