cpodes_spils.h File Reference

#include <sundials/sundials_iterative.h>
#include <sundials/sundials_nvector.h>

Go to the source code of this file.

Defines

#define CPSPILS_SUCCESS   0
#define CPSPILS_MEM_NULL   -1
#define CPSPILS_LMEM_NULL   -2
#define CPSPILS_ILL_INPUT   -3
#define CPSPILS_MEM_FAIL   -4

Typedefs

typedef int(* CPSpilsPrecSetupExplFn )(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(* CPSpilsPrecSetupImplFn )(realtype t, N_Vector y, N_Vector yp, N_Vector r, realtype gamma, void *P_data, N_Vector tmp1, N_Vector tmp2, N_Vector tmp3)
typedef int(* CPSpilsPrecSolveExplFn )(realtype t, N_Vector y, N_Vector fy, N_Vector b, N_Vector x, realtype gamma, realtype delta, int lr, void *P_data, N_Vector tmp)
typedef int(* CPSpilsPrecSolveImplFn )(realtype t, N_Vector y, N_Vector yp, N_Vector r, N_Vector b, N_Vector x, realtype gamma, realtype delta, void *P_data, N_Vector tmp)
typedef int(* CPSpilsJacTimesVecExplFn )(realtype t, N_Vector y, N_Vector fy, N_Vector v, N_Vector Jv, void *jac_data, N_Vector tmp)
typedef int(* CPSpilsJacTimesVecImplFn )(realtype t, realtype gm, N_Vector y, N_Vector yp, N_Vector r, N_Vector v, N_Vector Jv, void *jac_data, N_Vector tmp1, N_Vector tmp2)

Functions

SUNDIALS_EXPORT int CPSpilsSetPrecType (void *cpode_mem, int pretype)
SUNDIALS_EXPORT int CPSpilsSetGSType (void *cpode_mem, int gstype)
SUNDIALS_EXPORT int CPSpilsSetMaxl (void *cpode_mem, int maxl)
SUNDIALS_EXPORT int CPSpilsSetDelt (void *cpode_mem, realtype delt)
SUNDIALS_EXPORT int CPSpilsSetPreconditioner (void *cpode_mem, void *pset, void *psolve, void *P_data)
SUNDIALS_EXPORT int CPSpilsSetJacTimesVecFn (void *cpode_mem, void *jtimes, void *jac_data)
SUNDIALS_EXPORT int CPSpilsGetWorkSpace (void *cpode_mem, long int *lenrwLS, long int *leniwLS)
SUNDIALS_EXPORT int CPSpilsGetNumPrecEvals (void *cpode_mem, long int *npevals)
SUNDIALS_EXPORT int CPSpilsGetNumPrecSolves (void *cpode_mem, long int *npsolves)
SUNDIALS_EXPORT int CPSpilsGetNumLinIters (void *cpode_mem, long int *nliters)
SUNDIALS_EXPORT int CPSpilsGetNumConvFails (void *cpode_mem, long int *nlcfails)
SUNDIALS_EXPORT int CPSpilsGetNumJtimesEvals (void *cpode_mem, long int *njvevals)
SUNDIALS_EXPORT int CPSpilsGetNumFctEvals (void *cpode_mem, long int *nfevalsLS)
SUNDIALS_EXPORT int CPSpilsGetLastFlag (void *cpode_mem, int *flag)
SUNDIALS_EXPORT char * CPSpilsGetReturnFlagName (int flag)


Define Documentation

#define CPSPILS_ILL_INPUT   -3

#define CPSPILS_LMEM_NULL   -2

#define CPSPILS_MEM_FAIL   -4

#define CPSPILS_MEM_NULL   -1

#define CPSPILS_SUCCESS   0


Typedef Documentation

typedef int(* CPSpilsJacTimesVecExplFn)(realtype t, N_Vector y, N_Vector fy, N_Vector v, N_Vector Jv, void *jac_data, N_Vector tmp)

typedef int(* CPSpilsJacTimesVecImplFn)(realtype t, realtype gm, N_Vector y, N_Vector yp, N_Vector r, N_Vector v, N_Vector Jv, void *jac_data, N_Vector tmp1, N_Vector tmp2)

typedef int(* CPSpilsPrecSetupExplFn)(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(* CPSpilsPrecSetupImplFn)(realtype t, N_Vector y, N_Vector yp, N_Vector r, realtype gamma, void *P_data, N_Vector tmp1, N_Vector tmp2, N_Vector tmp3)

typedef int(* CPSpilsPrecSolveExplFn)(realtype t, N_Vector y, N_Vector fy, N_Vector b, N_Vector x, realtype gamma, realtype delta, int lr, void *P_data, N_Vector tmp)

typedef int(* CPSpilsPrecSolveImplFn)(realtype t, N_Vector y, N_Vector yp, N_Vector r, N_Vector b, N_Vector x, realtype gamma, realtype delta, void *P_data, N_Vector tmp)


Function Documentation

SUNDIALS_EXPORT int CPSpilsGetLastFlag ( void *  cpode_mem,
int *  flag 
)

SUNDIALS_EXPORT int CPSpilsGetNumConvFails ( void *  cpode_mem,
long int *  nlcfails 
)

SUNDIALS_EXPORT int CPSpilsGetNumFctEvals ( void *  cpode_mem,
long int *  nfevalsLS 
)

SUNDIALS_EXPORT int CPSpilsGetNumJtimesEvals ( void *  cpode_mem,
long int *  njvevals 
)

SUNDIALS_EXPORT int CPSpilsGetNumLinIters ( void *  cpode_mem,
long int *  nliters 
)

SUNDIALS_EXPORT int CPSpilsGetNumPrecEvals ( void *  cpode_mem,
long int *  npevals 
)

SUNDIALS_EXPORT int CPSpilsGetNumPrecSolves ( void *  cpode_mem,
long int *  npsolves 
)

SUNDIALS_EXPORT char* CPSpilsGetReturnFlagName ( int  flag  ) 

SUNDIALS_EXPORT int CPSpilsGetWorkSpace ( void *  cpode_mem,
long int *  lenrwLS,
long int *  leniwLS 
)

SUNDIALS_EXPORT int CPSpilsSetDelt ( void *  cpode_mem,
realtype  delt 
)

SUNDIALS_EXPORT int CPSpilsSetGSType ( void *  cpode_mem,
int  gstype 
)

SUNDIALS_EXPORT int CPSpilsSetJacTimesVecFn ( void *  cpode_mem,
void *  jtimes,
void *  jac_data 
)

SUNDIALS_EXPORT int CPSpilsSetMaxl ( void *  cpode_mem,
int  maxl 
)

SUNDIALS_EXPORT int CPSpilsSetPreconditioner ( void *  cpode_mem,
void *  pset,
void *  psolve,
void *  P_data 
)

SUNDIALS_EXPORT int CPSpilsSetPrecType ( void *  cpode_mem,
int  pretype 
)


Generated on Fri Sep 26 07:44:20 2008 for SimTKcore by  doxygen 1.5.6