Removal of particles that fall below a certain energy threshold:

e-: E < 10eV, ions: E < 0.05eV;
Ions from dissociative ionization are created with 9 eV;
non-dissociative ionization does not create an ion
This commit is contained in:
2026-03-24 15:18:43 +01:00
parent 324da20d4a
commit 4dc92fc6e7
5 changed files with 31 additions and 11 deletions
+3 -1
View File
@@ -39,7 +39,8 @@ class ElectronIonization : public Interaction {
std::shared_ptr<species::TrackedSpecie> ion,
std::shared_ptr<IonizationEnergyDistribution> distribution,
std::shared_ptr<IonizationScatteringAngleDistribution> angle_distribution,
double ionization_energy_eV);
double ionization_energy_eV,
double ion_energy);
InteractionOutput performInteraction(particle::Particle& particle,
RandomNumbers* generator);
@@ -48,6 +49,7 @@ class ElectronIonization : public Interaction {
std::shared_ptr<IonizationEnergyDistribution> energy_distribution_;
std::shared_ptr<IonizationScatteringAngleDistribution> angle_distribution_;
const double ionization_energy_eV_;
const double ion_energy_;
std::shared_ptr<species::TrackedSpecie> electron_;
std::shared_ptr<species::TrackedSpecie> ion_;