Reworked Katrin Geometrics.
Added creation of T3+ clusters. Added diss. recombination fo T3+ + e-
This commit is contained in:
@@ -38,13 +38,13 @@ inline bool E_Terminator::checkTermination (const Particle &movePart) {
|
||||
|
||||
|
||||
inline bool E_Terminator::check_Wall(const Particle &movePart) {
|
||||
vec3 loc_m = movePart.get_Location_m();
|
||||
vec3 loc_m = movePart.get_x_m();
|
||||
double z_m = loc_m[2];
|
||||
double r_m = sqrt( pow(loc_m[0],2) + pow(loc_m[1],2) );
|
||||
if (z_m <= Katrin_Geo::get_z_RW_m()) {
|
||||
if (z_m <= z_RW_m) {
|
||||
return true;
|
||||
}
|
||||
if (r_m >= Katrin_Geo::get_radius_m()) {
|
||||
if (r_m >= r_WGTS_m) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user