Dipole Electron terminilization
Added Electron Dipole terminilization. New Parameter: dipole_cutoffE_eV
This commit is contained in:
@@ -75,14 +75,14 @@ private:
|
||||
|
||||
bool check_min_energy(const double &E_eV);
|
||||
bool check_max_interactions(const long int &Id);
|
||||
virtual bool check_walls(const vec3 &loc_m) = 0;
|
||||
virtual bool check_walls(const Particle &movePart) = 0;
|
||||
};
|
||||
|
||||
|
||||
inline bool Terminator_Base::check_terminlization(const Particle &movePart) {
|
||||
long int Id = movePart.get_Id();
|
||||
count_total(Id);
|
||||
return check_walls(movePart.get_x_m()) ||
|
||||
return check_walls(movePart) ||
|
||||
check_min_energy(movePart.get_E_eV()) ||
|
||||
check_max_interactions(Id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user