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

The descretization of time is off by one delta_t in detector_e_field #78

Open PrometheusPi opened 7 years ago

PrometheusPi commented 7 years ago

I think the descretization of time which is used to write the the signal array in detector_e_field is off by one delta_t.

PrometheusPi commented 7 years ago

It would be best to abstract the code in such a way that the 3 cases can be avoided and treated by one method. By that no code duplication as currently implemented would be needed anymore.