Commit 454b0109 authored by ext-rogers_c's avatar ext-rogers_c
Browse files

Merge branch '747-opal-hangs-when-running-ffa-in-parallel' into 'master'

Resolve "OPAL hangs when running FFA in parallel"

Closes #747

See merge request OPAL/src!606
parents 35f5023a 7fb80839
......@@ -109,7 +109,6 @@ bool Ring::apply(const size_t &id, const double &t, Vector_t &E,
refPartBunch_m->R[id] * Vector_t(1000.0), refPartBunch_m->P[id],
t,
refPartBunch_m->Q[id], refPartBunch_m->M[id]));
lossDS_m->save();
refPartBunch_m->Bin[id] = -1;
}
......@@ -165,6 +164,7 @@ void Ring::initialise(PartBunchBase<double, 3> * bunch, double &/*startField*/,
}
void Ring::finalise() {
lossDS_m->save();
online_m = false;
setLossDataSink(nullptr);
}
......
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