#include <source/solvers/packages/sundials/cvode/CVODEAbstractFunctions.h>
Public Member Functions | |
CVODEAbstractFunctions () | |
virtual | ~CVODEAbstractFunctions () |
virtual int | evaluateRHSFunction (double t, SundialsAbstractVector *y, SundialsAbstractVector *y_dot)=0 |
virtual int | CVSpgmrPrecondSet (double t, SundialsAbstractVector *y, SundialsAbstractVector *fy, int jok, int *jcurPtr, double gamma, SundialsAbstractVector *vtemp1, SundialsAbstractVector *vtemp2, SundialsAbstractVector *vtemp3)=0 |
virtual int | CVSpgmrPrecondSolve (double t, SundialsAbstractVector *y, SundialsAbstractVector *fy, SundialsAbstractVector *r, SundialsAbstractVector *z, double gamma, double delta, int lr, SundialsAbstractVector *vtemp)=0 |
SAMRAI::solv::CVODEAbstractFunctions::CVODEAbstractFunctions | ( | ) |
The constructor and destructor for CVODEAbstractFunctions is empty.
SAMRAI::solv::CVODEAbstractFunctions::~CVODEAbstractFunctions | ( | ) | [virtual] |
virtual int SAMRAI::solv::CVODEAbstractFunctions::evaluateRHSFunction | ( | double | t, | |
SundialsAbstractVector * | y, | |||
SundialsAbstractVector * | y_dot | |||
) | [pure virtual] |
User-supplied right-hand side function evaluation.
The function arguments are:
IMPORTANT: This function must not modify the vector y.
virtual int SAMRAI::solv::CVODEAbstractFunctions::CVSpgmrPrecondSet | ( | double | t, | |
SundialsAbstractVector * | y, | |||
SundialsAbstractVector * | fy, | |||
int | jok, | |||
int * | jcurPtr, | |||
double | gamma, | |||
SundialsAbstractVector * | vtemp1, | |||
SundialsAbstractVector * | vtemp2, | |||
SundialsAbstractVector * | vtemp3 | |||
) | [pure virtual] |
User-supplied function for setting up the preconditioner to be used in the solution of the linear system that arises during Newton iteration.
virtual int SAMRAI::solv::CVODEAbstractFunctions::CVSpgmrPrecondSolve | ( | double | t, | |
SundialsAbstractVector * | y, | |||
SundialsAbstractVector * | fy, | |||
SundialsAbstractVector * | r, | |||
SundialsAbstractVector * | z, | |||
double | gamma, | |||
double | delta, | |||
int | lr, | |||
SundialsAbstractVector * | vtemp | |||
) | [pure virtual] |
User-supplied function for setting up the preconditioner to be used in the solution of the linear system that arises during Newton iteration.