diff --git a/examples/biomineralization/doc/mainfile.md b/examples/biomineralization/doc/mainfile.md index 1585debf7f1fd351011ee80322dc63c5668b628a..a4bf1bd210a625a92d78007a3c1b0ce14942ca28 100644 --- a/examples/biomineralization/doc/mainfile.md +++ b/examples/biomineralization/doc/mainfile.md @@ -200,7 +200,7 @@ Based on that, the checkpoints for the simulation are set. // We set the time loop with episodes of various lengths as specified in the injection file // set the episode ends /check points: - timeLoop->setCheckPoint(injectionCheckPoints); + timeLoop->setCheckPoint(injectionCheckPoints.begin(), injectionCheckPoints.end()); // We also set the initial episodeIdx in the problem to zero, as in the problem the boundary conditions depend on the episode. problem->setEpisodeIdx(episodeIdx); diff --git a/examples/biomineralization/main.cc b/examples/biomineralization/main.cc index d4729c31ebcb67b90438a6ae887c901a1e524736..fc32029128cbb3d0d9420b61d16706badc4f0800 100644 --- a/examples/biomineralization/main.cc +++ b/examples/biomineralization/main.cc @@ -148,7 +148,7 @@ int main(int argc, char** argv) try // We set the time loop with episodes of various lengths as specified in the injection file // set the episode ends /check points: - timeLoop->setCheckPoint(injectionCheckPoints); + timeLoop->setCheckPoint(injectionCheckPoints.begin(), injectionCheckPoints.end()); // We also set the initial episodeIdx in the problem to zero, as in the problem the boundary conditions depend on the episode. problem->setEpisodeIdx(episodeIdx); diff --git a/test/freeflow/shallowwater/poiseuilleflow/main.cc b/test/freeflow/shallowwater/poiseuilleflow/main.cc index f17708e2ad93818d9d2234c5b51178a2e9206a99..7c38aa094d937748217b3cef85863786f693868a 100644 --- a/test/freeflow/shallowwater/poiseuilleflow/main.cc +++ b/test/freeflow/shallowwater/poiseuilleflow/main.cc @@ -86,7 +86,7 @@ int main(int argc, char** argv) if (hasParam("TimeLoop.PrintoutTimes")) { const auto timeLoopPrintoutTimes = getParam<std::vector<double>>("TimeLoop.PrintoutTimes"); - timeLoop->setCheckPoint(timeLoopPrintoutTimes); + timeLoop->setCheckPoint(timeLoopPrintoutTimes.begin(), timeLoopPrintoutTimes.end()); } timeLoop->setCheckPoint(tEnd); diff --git a/test/porousmediumflow/richards/benchmarks/main.cc b/test/porousmediumflow/richards/benchmarks/main.cc index 78db5b653dadb83766c483886dba3b71c48f0521..c88d27f7274eca290f6834c2e7a18b8d63917044 100644 --- a/test/porousmediumflow/richards/benchmarks/main.cc +++ b/test/porousmediumflow/richards/benchmarks/main.cc @@ -92,7 +92,7 @@ int main(int argc, char** argv) // instantiate time loop auto timeLoop = std::make_shared<CheckPointTimeLoop<double>>(0.0, dt, tEnd); timeLoop->setMaxTimeStepSize(getParam<double>("TimeLoop.MaxTimeStepSize")); - timeLoop->setCheckPoint(checkPoints); + timeLoop->setCheckPoint(checkPoints.begin(), checkPoints.end()); int checkPointCounter = 0; using Assembler = FVAssembler<TypeTag, DiffMethod::analytic>;