idakryx.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <ida/ida.h>
#include <ida/ida_spgmr.h>
#include <nvector/nvector_serial.h>
#include <sundials/sundials_types.h>

Classes

struct  UserData

Defines

#define NOUT   11
#define MGRID   10
#define NEQ   MGRID*MGRID
#define ZERO   RCONST(0.0)
#define ONE   RCONST(1.0)
#define TWO   RCONST(2.0)
#define FOUR   RCONST(4.0)

Functions

int resHeat (realtype tres, N_Vector uu, N_Vector up, N_Vector resval, void *rdata)
int PsetupHeat (realtype tt, N_Vector uu, N_Vector up, N_Vector rr, realtype c_j, void *prec_data, N_Vector tmp1, N_Vector tmp2, N_Vector tmp3)
int PsolveHeat (realtype tt, N_Vector uu, N_Vector up, N_Vector rr, N_Vector rvec, N_Vector zvec, realtype c_j, realtype delta, void *prec_data, N_Vector tmp)
int main ()


Define Documentation

#define FOUR   RCONST(4.0)

#define MGRID   10

#define NEQ   MGRID*MGRID

#define NOUT   11

#define ONE   RCONST(1.0)

#define TWO   RCONST(2.0)

#define ZERO   RCONST(0.0)


Function Documentation

int main ( void   ) 

int PsetupHeat ( realtype  tt,
N_Vector  uu,
N_Vector  up,
N_Vector  rr,
realtype  c_j,
void *  prec_data,
N_Vector  tmp1,
N_Vector  tmp2,
N_Vector  tmp3 
)

int PsolveHeat ( realtype  tt,
N_Vector  uu,
N_Vector  up,
N_Vector  rr,
N_Vector  rvec,
N_Vector  zvec,
realtype  c_j,
realtype  delta,
void *  prec_data,
N_Vector  tmp 
)

int resHeat ( realtype  tres,
N_Vector  uu,
N_Vector  up,
N_Vector  resval,
void *  rdata 
)


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