An open source method of characteristics neutron transport code.
GPUExpEvaluator.h
Go to the documentation of this file.
1 
10 #ifndef GPUEXPEVALUATOR_H_
11 #define GPUEXPEVALUATOR_H_
12 
13 #ifdef __cplusplus
14 #define _USE_MATH_DEFINES
15 #include <math.h>
16 #include "../../ExpEvaluator.h"
17 #endif
18 
19 
29 
30 private:
31 
32 public:
33 
35  FP_PRECISION* _exp_table;
36 
37  __device__ FP_PRECISION computeExponential(FP_PRECISION tau, int polar);
38 };
39 
40 
41 void clone_exp_evaluator(ExpEvaluator* evaluator_h,
42  GPUExpEvaluator* evaluator_d);
43 
44 
45 #endif /* EXPEVALUATOR_H_ */
FP_PRECISION * _exp_table
Definition: GPUExpEvaluator.h:35
This is a class for evaluating exponentials.
Definition: ExpEvaluator.h:29
This is a class for evaluating exponentials on GPUs.
Definition: GPUExpEvaluator.h:28