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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Adjoint Problem<br />

The function PSOLFUNB must be defined either as<br />

FUNCTION [ZB, ERR] = PSOLFUNB(T,Y,YB,FYB,RB)<br />

or as<br />

FUNCTION [ZB, ERR, NEW_DATA] = PSOLFUNB(T,Y,YB,FYB,RB,DATA)<br />

depending on whether a user data structure DATA was specified in<br />

CVodeMalloc. In either case, it must return the vec<strong>to</strong>r ZB and the<br />

flag ERR.<br />

See also CVPrecSetupFn, CVodeSetOptions<br />

NOTE: PSOLFUN and PSOLFUNB are specified through the property<br />

PrecSolveFn <strong>to</strong> CVodeSetOptions and are used only if the property<br />

LinearSolver was set <strong>to</strong> ’GMRES’ or ’BiCGStab’ and if the property<br />

PrecType is not ’None’.<br />

37

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

Saved successfully!

Ooh no, something went wrong!