accelerInt
v0.1
generic
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
generic::accelerInt_initialize
void accelerInt_initialize(int num_threads)
Initializes the solver.
Definition:
solver_interface.c:23
generic::accelerInt_integrate
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
Definition:
solver_interface.c:39
solver.h
Contains skeleton of all methods that need to be defined on a per solver basis.
generic::accelerInt_cleanup
void accelerInt_cleanup(int num_threads)
Cleans up the solver.
Definition:
solver_interface.c:63
generic
Definition:
solver.h:19
solver_init.h
Header definitions for solver initialization routins.
Generated by
1.8.14