13.01.2013 Views

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 ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

See also CVodeSetOptions<br />

NOTE: ODES1FUN is specified through the property FSARhsFn <strong>to</strong> CVodeSetOptions<br />

and is used only if the property SensiAnalysis was set <strong>to</strong> ’FSA’ and if the<br />

property FSARhsType was set <strong>to</strong> ’One’.<br />

Purpose<br />

CVSensRhsFn<br />

CVSensRhsFn - type for user provided sensitivity RHS function.<br />

Synopsis<br />

This is a script file.<br />

Description<br />

CVSensRhsFn - type for user provided sensitivity RHS function.<br />

The function ODESFUN must be defined as<br />

FUNCTION YSD = ODESFUN(T,Y,YD,YS)<br />

and must return a matrix YSD corresponding <strong>to</strong> fS(t,y,yS).<br />

If a user data structure DATA was specified in CVodeMalloc, then<br />

ODESFUN must be defined as<br />

FUNCTION [YSD, NEW_DATA] = ODESFUN(T,Y,YD,YS,DATA)<br />

If the local modifications <strong>to</strong> the user data structure are needed in<br />

other user-provided functions then, besides setting the matrix YSD,<br />

the ODESFUN function must also set NEW_DATA. Otherwise, it should<br />

set NEW_DATA=[] (do not set NEW_DATA = DATA as it would lead <strong>to</strong><br />

unnecessary copying).<br />

See also CVodeSetOptions<br />

NOTE: ODESFUN is specified through the property FSARhsFn <strong>to</strong> CVodeSetOptions<br />

and is used only if the property SensiAnalysis was set <strong>to</strong> ’FSA’ and if the<br />

property FSARhsType was set <strong>to</strong> ’All’.<br />

Purpose<br />

CVJacTimesVecFn<br />

CVJacTimesVecFn - type for user provided Jacobian times vec<strong>to</strong>r function.<br />

Synopsis<br />

This is a script file.<br />

Description<br />

33

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!