cpodes_direct.h File Reference

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

Go to the source code of this file.

Defines

#define CPDIRECT_LU   1
#define CPDIRECT_QR   2
#define CPDIRECT_SC   3
#define CPDIRECT_QRP   4
#define CPDIRECT_SUCCESS   0
#define CPDIRECT_MEM_NULL   -1
#define CPDIRECT_LMEM_NULL   -2
#define CPDIRECT_ILL_INPUT   -3
#define CPDIRECT_MEM_FAIL   -4
#define CPDIRECT_JACFUNC_UNRECVR   -5
#define CPDIRECT_JACFUNC_RECVR   -6

Typedefs

typedef int(* CPDlsDenseJacExplFn )(int N, realtype t, N_Vector y, N_Vector fy, DlsMat Jac, void *jac_data, N_Vector tmp1, N_Vector tmp2, N_Vector tmp3)
typedef int(* CPDlsDenseJacImplFn )(int N, realtype t, realtype gm, N_Vector y, N_Vector yp, N_Vector r, DlsMat Jac, void *jac_data, N_Vector tmp1, N_Vector tmp2, N_Vector tmp3)
typedef int(* CPDlsBandJacExplFn )(int N, int mupper, int mlower, realtype t, N_Vector y, N_Vector fy, DlsMat Jac, void *jac_data, N_Vector tmp1, N_Vector tmp2, N_Vector tmp3)
typedef int(* CPDlsBandJacImplFn )(int N, int mupper, int mlower, realtype t, realtype gm, N_Vector y, N_Vector yp, N_Vector r, DlsMat Jac, void *jac_data, N_Vector tmp1, N_Vector tmp2, N_Vector tmp3)
typedef int(* CPDlsDenseProjJacFn )(int Nc, int Ny, realtype t, N_Vector y, N_Vector cy, DlsMat Jac, void *jac_data, N_Vector tmp1, N_Vector tmp2)

Functions

SUNDIALS_EXPORT int CPDlsSetJacFn (void *cvode_mem, void *jac, void *jac_data)
SUNDIALS_EXPORT int CPDlsGetWorkSpace (void *cvode_mem, long int *lenrwLS, long int *leniwLS)
SUNDIALS_EXPORT int CPDlsGetNumJacEvals (void *cvode_mem, long int *njevals)
SUNDIALS_EXPORT int CPDlsGetNumFctEvals (void *cvode_mem, long int *nfevalsLS)
SUNDIALS_EXPORT int CPDlsGetLastFlag (void *cvode_mem, int *flag)
SUNDIALS_EXPORT char * CPDlsGetReturnFlagName (int flag)
SUNDIALS_EXPORT int CPDlsProjSetJacFn (void *cpode_mem, void *jacP, void *jacP_data)
SUNDIALS_EXPORT int CPDlsProjGetNumJacEvals (void *cpode_mem, long int *njPevals)
SUNDIALS_EXPORT int CPDlsProjGetNumFctEvals (void *cpode_mem, long int *ncevalsLS)


Define Documentation

#define CPDIRECT_ILL_INPUT   -3

#define CPDIRECT_JACFUNC_RECVR   -6

#define CPDIRECT_JACFUNC_UNRECVR   -5

#define CPDIRECT_LMEM_NULL   -2

#define CPDIRECT_LU   1

Referenced by main().

#define CPDIRECT_MEM_FAIL   -4

#define CPDIRECT_MEM_NULL   -1

#define CPDIRECT_QR   2

#define CPDIRECT_QRP   4

Referenced by main().

#define CPDIRECT_SC   3

#define CPDIRECT_SUCCESS   0


Typedef Documentation

typedef int(* CPDlsBandJacExplFn)(int N, int mupper, int mlower, realtype t, N_Vector y, N_Vector fy, DlsMat Jac, void *jac_data, N_Vector tmp1, N_Vector tmp2, N_Vector tmp3)

typedef int(* CPDlsBandJacImplFn)(int N, int mupper, int mlower, realtype t, realtype gm, N_Vector y, N_Vector yp, N_Vector r, DlsMat Jac, void *jac_data, N_Vector tmp1, N_Vector tmp2, N_Vector tmp3)

typedef int(* CPDlsDenseJacExplFn)(int N, realtype t, N_Vector y, N_Vector fy, DlsMat Jac, void *jac_data, N_Vector tmp1, N_Vector tmp2, N_Vector tmp3)

typedef int(* CPDlsDenseJacImplFn)(int N, realtype t, realtype gm, N_Vector y, N_Vector yp, N_Vector r, DlsMat Jac, void *jac_data, N_Vector tmp1, N_Vector tmp2, N_Vector tmp3)

typedef int(* CPDlsDenseProjJacFn)(int Nc, int Ny, realtype t, N_Vector y, N_Vector cy, DlsMat Jac, void *jac_data, N_Vector tmp1, N_Vector tmp2)


Function Documentation

SUNDIALS_EXPORT int CPDlsGetLastFlag ( void *  cvode_mem,
int *  flag 
)

SUNDIALS_EXPORT int CPDlsGetNumFctEvals ( void *  cvode_mem,
long int *  nfevalsLS 
)

Referenced by GetSol().

SUNDIALS_EXPORT int CPDlsGetNumJacEvals ( void *  cvode_mem,
long int *  njevals 
)

Referenced by GetSol().

SUNDIALS_EXPORT char* CPDlsGetReturnFlagName ( int  flag  ) 

SUNDIALS_EXPORT int CPDlsGetWorkSpace ( void *  cvode_mem,
long int *  lenrwLS,
long int *  leniwLS 
)

SUNDIALS_EXPORT int CPDlsProjGetNumFctEvals ( void *  cpode_mem,
long int *  ncevalsLS 
)

SUNDIALS_EXPORT int CPDlsProjGetNumJacEvals ( void *  cpode_mem,
long int *  njPevals 
)

SUNDIALS_EXPORT int CPDlsProjSetJacFn ( void *  cpode_mem,
void *  jacP,
void *  jacP_data 
)

SUNDIALS_EXPORT int CPDlsSetJacFn ( void *  cvode_mem,
void *  jac,
void *  jac_data 
)

Referenced by main().


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