ComputationalRadiationPhysics / clara2

Clara2 - a parallel classical radiation calculator based on Liénard-Wiechert potentials
GNU General Public License v3.0
13 stars 9 forks source link

centralize detector direction setup #70

Open PrometheusPi opened 7 years ago

PrometheusPi commented 7 years ago

Currently the detector direction setup is distributed between all_direction.cpp and single_direction.cpp. This should be combined as a functor that allows setting the observation direction (and later output format).