Reworked Katrin Geometrics.
Added creation of T3+ clusters. Added diss. recombination fo T3+ + e-
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#define positive_terminator_h
|
||||
|
||||
#include "terminator_base.h"
|
||||
#include "katrin_geo.hpp"
|
||||
#include "katrin_geo.h"
|
||||
|
||||
class Positive_Terminator : public Terminator_Base, private Energy_Terminator_Base, private MaxInteractions_Terminator_Base {
|
||||
|
||||
@@ -38,16 +38,16 @@ inline bool Positive_Terminator::checkTermination (const Particle &movePart) {
|
||||
|
||||
|
||||
inline bool Positive_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 (z_m >= Katrin_Geo::get_z_WGTSend_m()) {
|
||||
if (z_m >= z_WGTS_end_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