summaryrefslogtreecommitdiff
path: root/packages/sundials/MyMain.c
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sundials/MyMain.c')
-rw-r--r--packages/sundials/MyMain.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/packages/sundials/MyMain.c b/packages/sundials/MyMain.c
deleted file mode 100644
index 1a7f579..0000000
--- a/packages/sundials/MyMain.c
+++ /dev/null
@@ -1,19 +0,0 @@
1#include <stdio.h>
2#include <math.h>
3#include <arkode/arkode.h> /* prototypes for ARKODE fcts., consts. */
4#include <nvector/nvector_serial.h> /* serial N_Vector types, fcts., macros */
5#include <sunmatrix/sunmatrix_dense.h> /* access to dense SUNMatrix */
6#include <sunlinsol/sunlinsol_dense.h> /* access to dense SUNLinearSolver */
7#include <arkode/arkode_direct.h> /* access to ARKDls interface */
8#include <sundials/sundials_types.h> /* definition of type realtype */
9#include <sundials/sundials_math.h>
10
11#include "src/helpers.h"
12
13int main () {
14 sunindextype NEQ = 1; /* number of dependent vars. */
15 N_Vector y = NULL; /* empty vector for storing solution */
16 y = N_VNew_Serial(NEQ); /* Create serial vector for solution */
17 if (check_flag((void *)y, "N_VNew_Serial", 0)) return 1;
18 return 0;
19}