#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <cvodes/cvodes.h>
#include <nvector/nvector_parallel.h>
#include <sundials/sundials_math.h>
#include <sundials/sundials_types.h>
#include <mpi.h>
Classes | |
struct | UserData |
Defines | |
#define | XMAX RCONST(2.0) |
#define | MX 20 |
#define | NEQ MX |
#define | ATOL RCONST(1.e-5) |
#define | T0 RCONST(0.0) |
#define | TOUT RCONST(2.5) |
#define | NP 2 |
#define | STEPS 200 |
#define | ZERO RCONST(0.0) |
#define | ONE RCONST(1.0) |
#define | TWO RCONST(2.0) |
Functions | |
int | main (int argc, char *argv[]) |
#define ATOL RCONST(1.e-5) |
#define MX 20 |
#define NEQ MX |
#define NP 2 |
#define ONE RCONST(1.0) |
#define STEPS 200 |
#define T0 RCONST(0.0) |
#define TOUT RCONST(2.5) |
Referenced by main().
#define TWO RCONST(2.0) |
#define XMAX RCONST(2.0) |
#define ZERO RCONST(0.0) |
int main | ( | int | argc, | |
char * | argv[] | |||
) |
References ATOL, UserData::comm, CV_ADAMS, CV_FUNCTIONAL, CV_HERMITE, CV_NORMAL, CV_SS, CVadjFree(), CVadjMalloc(), CVodeB(), CVodeCreate(), CVodeCreateB(), CVodeF(), CVodeFree(), CVodeMalloc(), CVodeMallocB(), CVodeSetFdata(), CVodeSetFdataB(), UserData::dx, dx, UserData::hacoef, UserData::hdcoef, UserData::local_N, MX, UserData::my_pe, N_VDestroy_Parallel(), N_VNew_Parallel(), NEQ, NP, UserData::nperpe, UserData::npes, fkinkryx_p::npes, UserData::nrem, ONE, UserData::p, STEPS, T0, TOUT, TWO, XMAX, UserData::z1, UserData::z2, and ZERO.