PU3YB5FX7NK65435O3H3AHCTUDHFRW7IOARLJJ4NBFG3GTIYVLCQC
JN2TPHENEBIY2OE5FRCQ2E6QCL6FPVHJHUCP4UODD6DITRVV2LIQC
IC2NW4EHRU42VTEF6RNOC26DVB3BKSA6JLGMO6CUXGIHHOZ3KTCQC
GQVQJCNQNO2KD7ZMC7RESCUAMUAP7OED6CTA6SYLZKQGXKXZ6T3QC
722HZ7UFINNE3YKSYKP2NHZ5XEG5QQLQHSKC7PREJZR3EX6RDYUAC
QN2UTSQP4IMCMVXZNR24J22N24ASGXF6EWXQ2P3VWVQERUPFAFDQC
U77PE56ICORZNQW33NXGSEMW7GDHCSSZ4EXB6OHBJSHEG6WHYSSQC
TVBD244E7Q7WV44CRBTFST535NUP3JAZH6OLL4IKDR3OWEXSU7HAC
33IC3UHCEPZLGS5ACS2JXHGT6CRU5LXU6PM6RDHCERPOIELVRVXQC
YIQN7NJTGEVKW7JZHL6CTH6EPCIXCNBYNURIGXPYZAOUX3VAJQMAC
24A4OZBZBQ6QXIQ3EOOCQIBTOWRA32TMSQ4CCL3LKIJVJPKZFHVQC
M5R6KQLXLGYSVKHVAX5AJKD6NYE6IM5Z6WVTR3BTKPJDNNKF3ARAC
WASO7G5FJXRXWNH2U2FLUNEKU6VE63OI3HUYP64BVD4LMD6KE7OQC
const int timereffact = use_subcycling_wip ? 2 : 1;
if (level == 0) {
// We are creating the coarsest level
leveldata.iteration = 0;
leveldata.delta_iteration = leveldata.coarse_delta_iteration;
leveldata.time = 0.0;
leveldata.delta_time = 1.0;
} else {
// We are creating a new refined level
auto &coarseleveldata = ghext->leveldata.at(level - 1);
leveldata.iteration = coarseleveldata.iteration;
assert(coarseleveldata.delta_iteration % timereffact == 0);
leveldata.delta_iteration = coarseleveldata.delta_iteration / timereffact;
leveldata.time = coarseleveldata.time;
leveldata.delta_time = coarseleveldata.delta_time / timereffact;
}
// We assume that this level is at the same time as the next coarser level
const int timereffact = use_subcycling_wip ? 2 : 1;
// leveldata.iteration = coarseleveldata.iteration;
// assert(coarseleveldata.delta_iteration % timereffact == 0);
// leveldata.delta_iteration = coarseleveldata.delta_iteration / timereffact;
// leveldata.time = coarseleveldata.time;
// leveldata.delta_time = coarseleveldata.delta_time / timereffact;
assert(leveldata.iteration == coarseleveldata.iteration);
assert(leveldata.delta_iteration ==
coarseleveldata.delta_iteration / timereffact);
assert(leveldata.time == coarseleveldata.time);
assert(leveldata.delta_time == coarseleveldata.delta_time / timereffact);