summaryrefslogtreecommitdiff
path: root/src/gui/Main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/Main.cc')
-rw-r--r--src/gui/Main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/Main.cc b/src/gui/Main.cc
index 4c2d62f..b3964d1 100644
--- a/src/gui/Main.cc
+++ b/src/gui/Main.cc
@@ -164,10 +164,10 @@ Une particule :
double A_22 = 4;//E-19; // s² m-1 (dépend totalement de l'accélérateur)
double length = 300E-12 * constants::C;
double stdDev = 0.1;
- acc->add(Bunch(p1, 500, 1, stdDev, length, emittance, A_12, A_22));
+ acc->add(Bunch(p1, 5, 1, stdDev, length, emittance, A_12, A_22));
Foo* foo = new Foo;
- Bunch& bch = (Bunch&) acc->add(Bunch(ap1, 500, 1, stdDev, length, emittance, A_12, A_22));
+ Bunch& bch = (Bunch&) acc->add(Bunch(ap1, 5, 1, stdDev, length, emittance, A_12, A_22));
bch.Publisher<ParticleAddedEvent>::subscribe(foo);
bch.Publisher<ParticleRemovedEvent>::subscribe(foo);