#include <sundials/sundials_iterative.h>
#include <sundials/sundials_nvector.h>
Go to the source code of this file.
Defines | |
#define | CVSPILS_MAXL 5 |
#define | CVSPILS_MSBPRE 50 |
#define | CVSPILS_DGMAX RCONST(0.2) |
#define | CVSPILS_DELT RCONST(0.05) |
#define | CVSPILS_SUCCESS 0 |
#define | CVSPILS_MEM_NULL -1 |
#define | CVSPILS_LMEM_NULL -2 |
#define | CVSPILS_ILL_INPUT -3 |
#define | CVSPILS_MEM_FAIL -4 |
Typedefs | |
typedef int(* | CVSpilsPrecSetupFn )(realtype t, N_Vector y, N_Vector fy, booleantype jok, booleantype *jcurPtr, realtype gamma, void *P_data, N_Vector tmp1, N_Vector tmp2, N_Vector tmp3) |
typedef int(* | CVSpilsPrecSolveFn )(realtype t, N_Vector y, N_Vector fy, N_Vector r, N_Vector z, realtype gamma, realtype delta, int lr, void *P_data, N_Vector tmp) |
typedef int(* | CVSpilsJacTimesVecFn )(N_Vector v, N_Vector Jv, realtype t, N_Vector y, N_Vector fy, void *jac_data, N_Vector tmp) |
Functions | |
SUNDIALS_EXPORT int | CVSpilsSetPrecType (void *cvode_mem, int pretype) |
SUNDIALS_EXPORT int | CVSpilsSetGSType (void *cvode_mem, int gstype) |
SUNDIALS_EXPORT int | CVSpilsSetMaxl (void *cvode_mem, int maxl) |
SUNDIALS_EXPORT int | CVSpilsSetDelt (void *cvode_mem, realtype delt) |
SUNDIALS_EXPORT int | CVSpilsSetPreconditioner (void *cvode_mem, CVSpilsPrecSetupFn pset, CVSpilsPrecSolveFn psolve, void *P_data) |
SUNDIALS_EXPORT int | CVSpilsSetJacTimesVecFn (void *cvode_mem, CVSpilsJacTimesVecFn jtimes, void *jac_data) |
SUNDIALS_EXPORT int | CVSpilsGetWorkSpace (void *cvode_mem, long int *lenrwLS, long int *leniwLS) |
SUNDIALS_EXPORT int | CVSpilsGetNumPrecEvals (void *cvode_mem, long int *npevals) |
SUNDIALS_EXPORT int | CVSpilsGetNumPrecSolves (void *cvode_mem, long int *npsolves) |
SUNDIALS_EXPORT int | CVSpilsGetNumLinIters (void *cvode_mem, long int *nliters) |
SUNDIALS_EXPORT int | CVSpilsGetNumConvFails (void *cvode_mem, long int *nlcfails) |
SUNDIALS_EXPORT int | CVSpilsGetNumJtimesEvals (void *cvode_mem, long int *njvevals) |
SUNDIALS_EXPORT int | CVSpilsGetNumRhsEvals (void *cvode_mem, long int *nfevalsLS) |
SUNDIALS_EXPORT int | CVSpilsGetLastFlag (void *cvode_mem, int *flag) |
SUNDIALS_EXPORT char * | CVSpilsGetReturnFlagName (int flag) |
#define CVSPILS_DELT RCONST(0.05) |
#define CVSPILS_DGMAX RCONST(0.2) |
#define CVSPILS_ILL_INPUT -3 |
#define CVSPILS_LMEM_NULL -2 |
#define CVSPILS_MAXL 5 |
#define CVSPILS_MEM_FAIL -4 |
#define CVSPILS_MEM_NULL -1 |
#define CVSPILS_MSBPRE 50 |
#define CVSPILS_SUCCESS 0 |
typedef int(* CVSpilsJacTimesVecFn)(N_Vector v, N_Vector Jv, realtype t, N_Vector y, N_Vector fy, void *jac_data, N_Vector tmp) |
typedef int(* CVSpilsPrecSetupFn)(realtype t, N_Vector y, N_Vector fy, booleantype jok, booleantype *jcurPtr, realtype gamma, void *P_data, N_Vector tmp1, N_Vector tmp2, N_Vector tmp3) |
typedef int(* CVSpilsPrecSolveFn)(realtype t, N_Vector y, N_Vector fy, N_Vector r, N_Vector z, realtype gamma, realtype delta, int lr, void *P_data, N_Vector tmp) |
SUNDIALS_EXPORT int CVSpilsGetLastFlag | ( | void * | cvode_mem, | |
int * | flag | |||
) |
SUNDIALS_EXPORT int CVSpilsGetNumConvFails | ( | void * | cvode_mem, | |
long int * | nlcfails | |||
) |
SUNDIALS_EXPORT int CVSpilsGetNumJtimesEvals | ( | void * | cvode_mem, | |
long int * | njvevals | |||
) |
SUNDIALS_EXPORT int CVSpilsGetNumLinIters | ( | void * | cvode_mem, | |
long int * | nliters | |||
) |
SUNDIALS_EXPORT int CVSpilsGetNumPrecEvals | ( | void * | cvode_mem, | |
long int * | npevals | |||
) |
SUNDIALS_EXPORT int CVSpilsGetNumPrecSolves | ( | void * | cvode_mem, | |
long int * | npsolves | |||
) |
SUNDIALS_EXPORT int CVSpilsGetNumRhsEvals | ( | void * | cvode_mem, | |
long int * | nfevalsLS | |||
) |
SUNDIALS_EXPORT char* CVSpilsGetReturnFlagName | ( | int | flag | ) |
SUNDIALS_EXPORT int CVSpilsGetWorkSpace | ( | void * | cvode_mem, | |
long int * | lenrwLS, | |||
long int * | leniwLS | |||
) |
SUNDIALS_EXPORT int CVSpilsSetDelt | ( | void * | cvode_mem, | |
realtype | delt | |||
) |
Referenced by main().
SUNDIALS_EXPORT int CVSpilsSetGSType | ( | void * | cvode_mem, | |
int | gstype | |||
) |
Referenced by main().
SUNDIALS_EXPORT int CVSpilsSetJacTimesVecFn | ( | void * | cvode_mem, | |
CVSpilsJacTimesVecFn | jtimes, | |||
void * | jac_data | |||
) |
SUNDIALS_EXPORT int CVSpilsSetMaxl | ( | void * | cvode_mem, | |
int | maxl | |||
) |
SUNDIALS_EXPORT int CVSpilsSetPreconditioner | ( | void * | cvode_mem, | |
CVSpilsPrecSetupFn | pset, | |||
CVSpilsPrecSolveFn | psolve, | |||
void * | P_data | |||
) |
Referenced by main().
SUNDIALS_EXPORT int CVSpilsSetPrecType | ( | void * | cvode_mem, | |
int | pretype | |||
) |
Referenced by main().