Made sure Container uses z bin
This commit is contained in:
@@ -88,7 +88,7 @@ void Population_Container::increase_cum_time_s(const vec3 &loc1_m, const vec3 &l
|
||||
int E_bin = E_scale.calc_index(E_eV);
|
||||
Bins bins_1 = calc_loc_bin(loc1_m);
|
||||
Bins bins_2 = calc_loc_bin(loc2_m);
|
||||
if (!(bins_1.r == bins_2.r && bins_1.phi == bins_2.phi)) { // Movement not in z... just ignore it for now...
|
||||
if ((!(bins_1.r == bins_2.r && bins_1.phi == bins_2.phi)) && (bins_1.z == bins_2.z)) { // Movement not in z... just ignore it for now...
|
||||
cout<<"Population_Container: Movement in r-phi-direction. \n.";
|
||||
} else if (bins_1.z == bins_2.z) { // Movement in same bin, most of the times!
|
||||
double d_m = calc_vec3_abs(loc2_m - loc1_m);
|
||||
|
||||
Reference in New Issue
Block a user