accelerInt  v0.1
header.h
Go to the documentation of this file.
1 
7 #ifndef HEADER_GUARD_H
8 #define HEADER_GUARD_H
9 
10 #include <stdlib.h>
11 
12 //include OpenMP if available
13 #ifdef _OPENMP
14  #include <omp.h>
15 #else
16  #define omp_get_max_threads() 1
17  #define omp_get_num_threads() 1
18 #endif
19 
20 #ifdef GENERATE_DOCS
21 //put this in the van der Pol namespace for documentation
22 namespace van_der_pol {
23 #endif
24 
26 #define NSP (2)
27 #define NN (NSP)
29 
38 void set_same_initial_conditions(int NUM, double** y_host, double** var_host);
39 
40 //dummy definitions that are used for pyJac
41 
48 void apply_mask(double* y_host);
55 void apply_reverse_mask(double* y_host);
56 
57 #ifdef GENERATE_DOCS
58 }
59 #endif
60 
61 #endif
void apply_mask(double *y_host)
Not needed for van der Pol.
Definition: ics.c:41
void set_same_initial_conditions(int NUM, double **y_host, double **var_host)
Set same ICs for all problems.
Definition: ics.c:20
void apply_reverse_mask(double *y_host)
Not needed for van der Pol.
Definition: ics.c:48