#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <cvodes/cvodes.h>
#include <cvodes/cvodes_lapack.h>
#include <nvector/nvector_serial.h>
#include <sundials/sundials_math.h>
Classes | |
struct | UserData |
Defines | |
#define | XMAX RCONST(2.0) |
#define | YMAX RCONST(1.0) |
#define | MX 10 |
#define | MY 5 |
#define | NEQ MX*MY |
#define | ATOL RCONST(1.0e-5) |
#define | T0 RCONST(0.0) |
#define | T1 RCONST(0.1) |
#define | DTOUT RCONST(0.1) |
#define | NOUT 10 |
#define | ZERO RCONST(0.0) |
#define | HALF RCONST(0.5) |
#define | ONE RCONST(1.0) |
#define | TWO RCONST(2.0) |
#define | FIVE RCONST(5.0) |
#define | IJth(vdata, i, j) (vdata[(j-1) + (i-1)*MY]) |
Functions | |
int | main (void) |
#define ATOL RCONST(1.0e-5) |
#define DTOUT RCONST(0.1) |
#define FIVE RCONST(5.0) |
#define HALF RCONST(0.5) |
#define IJth | ( | vdata, | |||
i, | |||||
j | ) | (vdata[(j-1) + (i-1)*MY]) |
#define MX 10 |
#define MY 5 |
#define NEQ MX*MY |
#define NOUT 10 |
#define ONE RCONST(1.0) |
#define T0 RCONST(0.0) |
#define T1 RCONST(0.1) |
#define TWO RCONST(2.0) |
#define XMAX RCONST(2.0) |
#define YMAX RCONST(1.0) |
#define ZERO RCONST(0.0) |
int main | ( | void | ) |
References ATOL, CV_BDF, CV_NEWTON, CV_NORMAL, CV_SS, CVDlsSetJacFn(), CVLapackBand(), CVode(), CVodeCreate(), CVodeFree(), CVodeGetNumSteps(), CVodeMalloc(), CVodeSetFdata(), DTOUT, UserData::dx, dx, dy, HALF, fkinkryx::iout, MX, MY, N_VDestroy_Serial(), N_VMaxNorm(), N_VNew_Serial(), NEQ, NOUT, __fidadenx.f__::nst, ONE, T0, T1, __fidadenx.f__::tout, TWO, XMAX, YMAX, and ZERO.