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 bff97e1c authored by frey_m's avatar frey_m
Browse files

Fixed bug of updating the bunch in case of single level run

parent f3fc4f8f
No related branches found
No related tags found
1 merge request!16Merge AMR fork into OPAL/master
......@@ -316,8 +316,11 @@ void doBoxLib(const Vektor<size_t, 3>& nr, size_t nParticles,
IpplTimings::stopTimer(stepTimer);
IpplTimings::startTimer(regridTimer);
if ( myAmrOpal.maxLevel() > 0 ) {
for (int i = 0; i <= myAmrOpal.finestLevel() && i < myAmrOpal.maxLevel(); ++i)
myAmrOpal.regrid(i /*lbase*/, i /*time*/);
myAmrOpal.regrid(i /*lbase*/, 0.0 /*time*/);
} else
bunch->update();
IpplTimings::stopTimer(regridTimer);
IpplTimings::startTimer(statisticsTimer);
......
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