Basic changes for time resolution.
Input from json still suboptimal.
This commit is contained in:
@@ -93,10 +93,14 @@ InteractionOutput ElectronIonization::performInteraction(
|
||||
|
||||
particle.velocity(v_impact_new);
|
||||
|
||||
|
||||
const double time_birth = particle.timeAlive();
|
||||
InteractionOutput output;
|
||||
output.add(
|
||||
particle::Particle(electron_, x_impact, CartesianVector(v_ejected)));
|
||||
output.add(particle::Particle(ion_, x_impact, CartesianVector(v_target)));
|
||||
particle::Particle(electron_, x_impact, CartesianVector(v_ejected),
|
||||
time_birth));
|
||||
output.add(particle::Particle(ion_, x_impact, CartesianVector(v_target),
|
||||
time_birth));
|
||||
|
||||
return output;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user