IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 9cc3a048 authored by ralfulrich's avatar ralfulrich
Browse files

interface change in addParticle

parent 0a84f392
No related branches found
No related tags found
No related merge requests found
...@@ -347,7 +347,9 @@ TEST_CASE("Geometry Trajectories") { ...@@ -347,7 +347,9 @@ TEST_CASE("Geometry Trajectories") {
// create an arbitrary location of the particle // create an arbitrary location of the particle
const Point pos(rootCS, 50_m, 10_m, 80_m); const Point pos(rootCS, 50_m, 10_m, 80_m);
// add it finally to the stack // add it finally to the stack
auto const particle1{stack.addParticle(std::make_tuple(particle, plab, pos, 0_ns))}; auto const particle1{stack.addParticle(
std::make_tuple(particle, calculate_kinetic_energy(plab.getNorm(), pmass),
plab.normalized(), pos, 0_ns))};
SECTION("Line") { SECTION("Line") {
SpeedType const V0 = 3_m / second; SpeedType const V0 = 3_m / second;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment