Cheetah - SKA - PSS - Prototype Time Domain Search Pipeline
TdrtMap.cu
1 #include "cheetah/tdrt/cuda/TdrtMap.cuh"
2 #include "cheetah/data/Units.h"
3 
4 namespace ska {
5 namespace cheetah {
6 namespace tdrt {
7 namespace cuda {
8 
14 TdrtMap::TdrtMap(data::AccelerationType acceleration, std::size_t size, data::TimeType tsamp)
15 {
16  this->accel_fact = (((acceleration * tsamp) / (2.0 * boost::units::si::constants::codata::c))).value();
17  this->size = (double) size;
18 }
19 
20 } // namespace cuda
21 } // namespace tdrt
22 } // namespace cheetah
23 } // namespace ska
24 
25 
Some limits and constants for FLDO.
Definition: Brdz.h:35
TdrtMap(data::AccelerationType acceleration, std::size_t size, data::TimeType tsamp)
Create new functor instance.
Definition: TdrtMap.cu:14