Commit b51369f8 authored by frey_m's avatar frey_m
Browse files

do check here

parent 5cfca744
...@@ -1201,6 +1201,9 @@ void ParallelCyclotronTracker::execute() { ...@@ -1201,6 +1201,9 @@ void ParallelCyclotronTracker::execute() {
Initialize common variables and structures Initialize common variables and structures
for the integrators for the integrators
*/ */
if (OpalData::getInstance()->inRestartRun()) {
OpalData::getInstance()->setOpenMode(OpalData::OPENMODE::APPEND);
}
step_m = 0; step_m = 0;
restartStep0_m = 0; restartStep0_m = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment