ida_spils.h File Reference

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

Go to the source code of this file.

Defines

#define IDASPILS_SUCCESS   0
#define IDASPILS_MEM_NULL   -1
#define IDASPILS_LMEM_NULL   -2
#define IDASPILS_ILL_INPUT   -3
#define IDASPILS_MEM_FAIL   -4

Typedefs

typedef int(* IDASpilsPrecSetupFn )(realtype tt, N_Vector yy, N_Vector yp, N_Vector rr, realtype c_j, void *prec_data, N_Vector tmp1, N_Vector tmp2, N_Vector tmp3)
typedef int(* IDASpilsPrecSolveFn )(realtype tt, N_Vector yy, N_Vector yp, N_Vector rr, N_Vector rvec, N_Vector zvec, realtype c_j, realtype delta, void *prec_data, N_Vector tmp)
typedef int(* IDASpilsJacTimesVecFn )(realtype tt, N_Vector yy, N_Vector yp, N_Vector rr, N_Vector v, N_Vector Jv, realtype c_j, void *jac_data, N_Vector tmp1, N_Vector tmp2)

Functions

SUNDIALS_EXPORT int IDASpilsSetPreconditioner (void *ida_mem, IDASpilsPrecSetupFn pset, IDASpilsPrecSolveFn psolve, void *prec_data)
SUNDIALS_EXPORT int IDASpilsSetJacTimesVecFn (void *ida_mem, IDASpilsJacTimesVecFn jtimes, void *jac_data)
SUNDIALS_EXPORT int IDASpilsSetGSType (void *ida_mem, int gstype)
SUNDIALS_EXPORT int IDASpilsSetMaxRestarts (void *ida_mem, int maxrs)
SUNDIALS_EXPORT int IDASpilsSetMaxl (void *ida_mem, int maxl)
SUNDIALS_EXPORT int IDASpilsSetEpsLin (void *ida_mem, realtype eplifac)
SUNDIALS_EXPORT int IDASpilsSetIncrementFactor (void *ida_mem, realtype dqincfac)
SUNDIALS_EXPORT int IDASpilsGetWorkSpace (void *ida_mem, long int *lenrwLS, long int *leniwLS)
SUNDIALS_EXPORT int IDASpilsGetNumPrecEvals (void *ida_mem, long int *npevals)
SUNDIALS_EXPORT int IDASpilsGetNumPrecSolves (void *ida_mem, long int *npsolves)
SUNDIALS_EXPORT int IDASpilsGetNumLinIters (void *ida_mem, long int *nliters)
SUNDIALS_EXPORT int IDASpilsGetNumConvFails (void *ida_mem, long int *nlcfails)
SUNDIALS_EXPORT int IDASpilsGetNumJtimesEvals (void *ida_mem, long int *njvevals)
SUNDIALS_EXPORT int IDASpilsGetNumResEvals (void *ida_mem, long int *nrevalsLS)
SUNDIALS_EXPORT int IDASpilsGetLastFlag (void *ida_mem, int *flag)
SUNDIALS_EXPORT char * IDASpilsGetReturnFlagName (int flag)


Define Documentation

#define IDASPILS_ILL_INPUT   -3

#define IDASPILS_LMEM_NULL   -2

#define IDASPILS_MEM_FAIL   -4

#define IDASPILS_MEM_NULL   -1

#define IDASPILS_SUCCESS   0


Typedef Documentation

typedef int(* IDASpilsJacTimesVecFn)(realtype tt, N_Vector yy, N_Vector yp, N_Vector rr, N_Vector v, N_Vector Jv, realtype c_j, void *jac_data, N_Vector tmp1, N_Vector tmp2)

typedef int(* IDASpilsPrecSetupFn)(realtype tt, N_Vector yy, N_Vector yp, N_Vector rr, realtype c_j, void *prec_data, N_Vector tmp1, N_Vector tmp2, N_Vector tmp3)

typedef int(* IDASpilsPrecSolveFn)(realtype tt, N_Vector yy, N_Vector yp, N_Vector rr, N_Vector rvec, N_Vector zvec, realtype c_j, realtype delta, void *prec_data, N_Vector tmp)


Function Documentation

SUNDIALS_EXPORT int IDASpilsGetLastFlag ( void *  ida_mem,
int *  flag 
)

SUNDIALS_EXPORT int IDASpilsGetNumConvFails ( void *  ida_mem,
long int *  nlcfails 
)

Referenced by main().

SUNDIALS_EXPORT int IDASpilsGetNumJtimesEvals ( void *  ida_mem,
long int *  njvevals 
)

SUNDIALS_EXPORT int IDASpilsGetNumLinIters ( void *  ida_mem,
long int *  nliters 
)

SUNDIALS_EXPORT int IDASpilsGetNumPrecEvals ( void *  ida_mem,
long int *  npevals 
)

SUNDIALS_EXPORT int IDASpilsGetNumPrecSolves ( void *  ida_mem,
long int *  npsolves 
)

SUNDIALS_EXPORT int IDASpilsGetNumResEvals ( void *  ida_mem,
long int *  nrevalsLS 
)

SUNDIALS_EXPORT char* IDASpilsGetReturnFlagName ( int  flag  ) 

SUNDIALS_EXPORT int IDASpilsGetWorkSpace ( void *  ida_mem,
long int *  lenrwLS,
long int *  leniwLS 
)

SUNDIALS_EXPORT int IDASpilsSetEpsLin ( void *  ida_mem,
realtype  eplifac 
)

SUNDIALS_EXPORT int IDASpilsSetGSType ( void *  ida_mem,
int  gstype 
)

Referenced by main().

SUNDIALS_EXPORT int IDASpilsSetIncrementFactor ( void *  ida_mem,
realtype  dqincfac 
)

SUNDIALS_EXPORT int IDASpilsSetJacTimesVecFn ( void *  ida_mem,
IDASpilsJacTimesVecFn  jtimes,
void *  jac_data 
)

SUNDIALS_EXPORT int IDASpilsSetMaxl ( void *  ida_mem,
int  maxl 
)

SUNDIALS_EXPORT int IDASpilsSetMaxRestarts ( void *  ida_mem,
int  maxrs 
)

SUNDIALS_EXPORT int IDASpilsSetPreconditioner ( void *  ida_mem,
IDASpilsPrecSetupFn  pset,
IDASpilsPrecSolveFn  psolve,
void *  prec_data 
)

Referenced by main().


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