bugfix in cluster velocity
This commit is contained in:
@@ -27,7 +27,7 @@ InteractionOutput ClusterFormation::performInteraction(
|
|||||||
kinematic::kineticEnergy(v_target, target_->mass_kg());
|
kinematic::kineticEnergy(v_target, target_->mass_kg());
|
||||||
const blitz::TinyVector<double, 3> v_cluster =
|
const blitz::TinyVector<double, 3> v_cluster =
|
||||||
kinematic::velocity(energy_eV, product_->mass_kg()) *
|
kinematic::velocity(energy_eV, product_->mass_kg()) *
|
||||||
kinematic::norm(v_target);
|
v_target / kinematic::norm(v_target);
|
||||||
particle::Particle cluster(product_, x_impact, CartesianVector(v_cluster));
|
particle::Particle cluster(product_, x_impact, CartesianVector(v_cluster));
|
||||||
|
|
||||||
InteractionOutput output;
|
InteractionOutput output;
|
||||||
|
|||||||
Reference in New Issue
Block a user