Small bugfix for ion energy from ionization and
random index
This commit is contained in:
@@ -45,6 +45,9 @@ InteractionOutput ElectronIonization::performInteraction(
|
||||
->driftVelocity(x_impact, particle.cylinderPosition())
|
||||
.cartesianEntries();
|
||||
}
|
||||
|
||||
v_target *= std::sqrt(target_->mass_kg()/ion_->mass_kg());
|
||||
|
||||
blitz::TinyVector<double, 3> v_laboratory = kinematic::velocityTargetFixed(
|
||||
v_impact, target_velocity_.cartesianEntries(), particle.mass_kg(), target_->mass_kg()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user