Finished DCS_Ionization Container.

Removed Energy Cut off for T2+ Ions.
Tested Population loggers.
This commit is contained in:
Christian
2019-06-06 16:33:42 +02:00
parent 142197d10a
commit bd64d5390f
37 changed files with 11430 additions and 388 deletions
+3 -3
View File
@@ -119,10 +119,10 @@ inline double get_r_m(const vec3 &loc_m) {
}
inline double get_phi(const vec3 &loc_m) {
if (loc_m[0] >= 0) {
return ( acos(loc_m[1]/get_r_m(loc_m)) );
if (loc_m[1] >= 0) {
return ( acos(loc_m[0]/get_r_m(loc_m)) );
} else {
return ( 2*pi - acos(loc_m[1]/get_r_m(loc_m)) );
return ( 2*pi - acos(loc_m[0]/get_r_m(loc_m)) );
}
}