Finished DCS_Ionization Container.
Removed Energy Cut off for T2+ Ions. Tested Population loggers.
This commit is contained in:
@@ -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)) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user