Basic changes for time resolution.

Input from json still suboptimal.
This commit is contained in:
2024-05-14 09:23:52 +02:00
parent cac5e6ff5d
commit 77fa8d175a
12 changed files with 84 additions and 36 deletions
+6 -2
View File
@@ -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;
}