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

adjust DFT detector interface #45

Closed PrometheusPi closed 8 years ago

PrometheusPi commented 8 years ago

This pull request moves the delta_t setting from the constructor of the DFT detector to the add_to_spectrum method of the DFT detector. This interface now matches that of the FFT detector and they can be replaced by each other.

PrometheusPi commented 8 years ago

I fixed some remaining errors in the detector code. Now the code passes the compile test.

PrometheusPi commented 8 years ago

@alex-koe If you want, you can review this pull request.