accelerInt  v0.1
solver.cuh
Go to the documentation of this file.
1 
11 #ifndef SOLVER_CUH
12 #define SOLVER_CUH
13 
14  #include "solver_options.cuh"
15  #include "solver_init.cuh"
16  #include "solver_props.cuh"
17 
18 #ifdef GENERATE_DOCS
19  namespace genericcu {
20 #endif
21 
22  __global__
23 void intDriver (const int NUM,
24  const double t,
25  const double t_end,
26  const double * __restrict__ pr_global,
27  double * __restrict__ y_global,
28  const mechanism_memory * __restrict__ d_mem,
29  const solver_memory * __restrict__ s_mem);
30 
31 __device__ void integrate (const double,
32  const double,
33  const double,
34  double * const __restrict__,
35  mechanism_memory const * const __restrict__,
36  solver_memory const * const __restrict__);
37 
38 __host__
39 void check_error(int num_conditions, int* code_arr);
40 
41 #ifdef GENERATE_DOCS
42  }
43 #endif
44 
45 #endif
__global__ void intDriver(const int NUM, const double t, const double t_end, const double *__restrict__ pr_global, double *__restrict__ y_global, const mechanism_memory *__restrict__ d_mem, const solver_memory *__restrict__ s_mem)
Generic driver for the GPU integrators.
__host__ void check_error(int num_conditions, int *code_arr)
Header definitions for solver initialization routins.
simple convenience file to include the correct solver properties file
__device__ void integrate(const double, const double, const double, double *const __restrict__, mechanism_memory const *const __restrict__, solver_memory const *const __restrict__)
A file generated by Scons that specifies various options to the solvers.