corrected comments for ionization; changed
non-diss ion. energy to fit with value used in cross section calc
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#define IONIZATION_CONSTANTS_H
|
||||
|
||||
namespace ionization {
|
||||
static const double ionization_energy_janev_non_diss = 15.42; // (eV)
|
||||
static const double ionization_energy_janev_non_diss = 15.43; // (eV)
|
||||
static const double ionization_energy_janev_diss_first = 30.6; // (eV)
|
||||
static const double ionization_energy_janev_diss_ground = 18.15; // (eV)
|
||||
} // namespace ionization
|
||||
|
||||
@@ -57,7 +57,7 @@ InteractionOutput ElectronIonization::performInteraction(
|
||||
UnitConversion::JouleToeV;
|
||||
} while (E_impact <= ionization_energy_eV_);
|
||||
|
||||
// draw the impact energy of the slower of the two electrons after the interaction
|
||||
// draw the impact energy of the faster of the two electrons after the interaction
|
||||
const double E_impact_new =
|
||||
energy_distribution_->rollImpactParticleEnergyAfterCollision(E_impact,
|
||||
generator);
|
||||
@@ -66,13 +66,15 @@ InteractionOutput ElectronIonization::performInteraction(
|
||||
const double E_ejected =
|
||||
std::max(0., E_impact - E_impact_new - ionization_energy_eV_);
|
||||
|
||||
// draw the polar angle of the slower electron
|
||||
// Note: wrong naming; is actually the azimuthal angle
|
||||
// draw the polar angle of the faster electron
|
||||
const double polar_angle_impact_new = generator->rollUniform(0., 2 * M_PI);
|
||||
// calculate the polar angle of the faster electron
|
||||
// calculate the polar angle of the slower electron
|
||||
const double polar_angle_ejected = (polar_angle_impact_new - M_PI) < 0.
|
||||
? (polar_angle_impact_new + M_PI)
|
||||
: (polar_angle_impact_new - M_PI);
|
||||
|
||||
// wrong naming; is actually the polar angle
|
||||
const double azimuth_angle_impact_new =
|
||||
angle_distribution_->rollAzimuthImpactParticleAfterCollision(
|
||||
E_impact, E_impact_new, generator);
|
||||
@@ -136,7 +138,7 @@ double IonizationEnergyDistribution::rollImpactParticleEnergyAfterCollision(
|
||||
cross_section =
|
||||
generator->rollUniform(cross_section_min, cross_section_max);
|
||||
} while (cross_section > d2_cross_section_(impact_energy, energy_after));
|
||||
// outgoing particles are indistiquishable, therefore always return the lower of the
|
||||
// outgoing particles are indistiquishable, therefore always return the higher of the
|
||||
// two possible energies
|
||||
energy_after = energy_after > (impact_energy - ionization_energy_eV_) / 2.
|
||||
? energy_after
|
||||
|
||||
Reference in New Issue
Block a user