Commit e2f311b9 authored by kraus's avatar kraus
Browse files

finally fixing number of particles that don't match

parent e1afc85a
......@@ -3861,6 +3861,7 @@ void Distribution::ReflectDistribution(size_t &numberOfParticles) {
pzDist_m.push_back(pzDist_m.at(partIndex));
}
numberOfParticles = tOrZDist_m.size();
reduce(numberOfParticles, numberOfParticles, OpAddAssign());
}
void Distribution::ScaleDistCoordinates() {
......@@ -5051,4 +5052,4 @@ void Distribution::WriteOutFileInjection() {
reduce(numberOfParticles, numberOfParticles, OpAddAssign());
}
}
}
}
\ No newline at end of file
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