From 363b573c218ce4634b85fc02c8d42d4a86c968f9 Mon Sep 17 00:00:00 2001
From: Andreas Adelmann <andreas.adelmann@psi.ch>
Date: Mon, 24 Jun 2024 03:46:27 +0200
Subject: [PATCH] more gmsg

---
 src/Track/TrackRun.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/Track/TrackRun.cpp b/src/Track/TrackRun.cpp
index 7506f24be..fb05d592b 100644
--- a/src/Track/TrackRun.cpp
+++ b/src/Track/TrackRun.cpp
@@ -311,8 +311,12 @@ void TrackRun::execute() {
             throw OpalException("Distribution::create", "Unknown \"TYPE\" of \"DISTRIBUTION\"");
     }
 
+    *gmsg << "* About to create particles ..." << endl;
+    
     sampler_m->generateParticles(Np, nr);
 
+    *gmsg << "* Particle creation done" << endl;
+    
     /* 
        reset the fieldsolver with correct hr_m
        based on the distribution
-- 
GitLab