accelerInt  v0.1
solver_interface.h
Go to the documentation of this file.
1 
11 #ifndef SOLVER_INTERFACE_H
12 #define SOLVER_INTERFACE_H
13 
14 #include "solver.h"
15 #include "solver_init.h"
16 #include <float.h>
17 
18 #define EPS DBL_EPSILON
19 
20 #ifdef GENERATE_DOCS
21 namespace generic {
22 #endif
23 
29 void accelerInt_initialize(int num_threads);
30 
31 
43 void accelerInt_integrate(const int NUM, const double t, const double t_end, const double stepsize,
44  double * __restrict__ y_host, const double * __restrict__ var_host);
45 
51 void accelerInt_cleanup(int num_threads);
52 
53 
54 
55 
56 #ifdef GENERATE_DOCS
57 }
58 #endif
59 
60 
61 #endif
void accelerInt_initialize(int num_threads)
Initializes the solver.
void accelerInt_integrate(const int NUM, const double t_start, const double t_end, const double stepsize, double *__restrict__ y_host, const double *__restrict__ var_host)
integrate NUM odes from time t to time t_end, using stepsizes of t_step
Contains skeleton of all methods that need to be defined on a per solver basis.
void accelerInt_cleanup(int num_threads)
Cleans up the solver.
Definition: solver.h:19
Header definitions for solver initialization routins.