Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 791b3097 authored by winklehner_d's avatar winklehner_d
Browse files

Merge branch '406-avoid-NOP-check-for-SAAMG' into 'master'

Resolve "OPAL aborts with "number of particles per cell too low" error when running SAAMG solver"

Closes #406

See merge request !216
parents a9ab315a fa291c98
No related branches found
No related tags found
1 merge request!216Resolve "OPAL aborts with "number of particles per cell too low" error when running SAAMG solver"
......@@ -759,6 +759,7 @@ void TrackRun::setupFieldsolver() {
size_t numParticles = beam->getNumberOfParticles();
if (!opal->inRestartRun() && numParticles < numGridPoints
&& Util::toUpper(fs->getType()) != std::string("SAAMG") // in SPIRAL/SAAMG we're meshing the whole domain -DW
#ifdef ENABLE_AMR
&& !Options::amr)
#else
......@@ -878,4 +879,4 @@ double TrackRun::setDistributionParallelT(Beam *beam) {
// Return charge per macroparticle.
return beam->getCharge() * beam->getCurrent() / (beam->getFrequency()*1.0e6) / numberOfParticles;
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment