Commit a08b8c30 authored by Frederik Hennig's avatar Frederik Hennig
Browse files

Fixed uniform BM data aquisition

parent 82bfb70f
Pipeline #34258 failed with stages
in 11 minutes and 44 seconds
......@@ -588,8 +588,6 @@ void run(std::shared_ptr< Config > & config) {
const uint_t warmup = params.getParameter< uint_t >("warmupSteps", uint_c(2));
const uint_t vtkWriteFrequency = params.getParameter< uint_t >("vtkWriteFrequency", uint_c(0));
const double remainingTimeLoggerFrequency =
params.getParameter< double >("remainingTimeLoggerFrequency", 3.0); // in seconds
// Setup Procedure -- make sure the desired geometry is correctly constructed
auto flowSetup = getSetup(params);
......@@ -739,7 +737,13 @@ void run(std::shared_ptr< Config > & config) {
for(uint_t k = 0; k <= setupBfs.getDepth(); ++k){
blocksPerLevel[k] = setupBfs.getNumberOfBlocks(k);
cellsPerLevel[k] = blocksPerLevel[k] * totalCellsPerBlock;
updatesPerRunAndLevel[k] = cellsPerLevel[k] * stepsPerRun * (uint_t(1) << k);
if(useUniformPackInfo){ // no temporal refinement done here!
updatesPerRunAndLevel[k] = cellsPerLevel[k] * stepsPerRun;
}else{
updatesPerRunAndLevel[k] = cellsPerLevel[k] * stepsPerRun * (uint_t(1) << k);
}
totalUpdatesPerRun += updatesPerRunAndLevel[k];
}
......
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