diff --git a/examples/shallowwaterfriction/doc/main.md b/examples/shallowwaterfriction/doc/main.md index 2861a9537a6ba47bcc9ad79114e04b1a9c601aea..ebf2c5f6c926adde4e12b31c626affc2d242355f 100644 --- a/examples/shallowwaterfriction/doc/main.md +++ b/examples/shallowwaterfriction/doc/main.md @@ -216,9 +216,6 @@ and the time step sizes used is printed to the terminal. ```cpp timeLoop->start(); do { - // First we define the old solution as the solution of the previous time step for storage evaluations. - assembler->setPreviousSolution(xOld); - // We solve the non-linear system with time step control, using Newthon's method. nonLinearSolver.solve(x,*timeLoop); diff --git a/examples/shallowwaterfriction/main.cc b/examples/shallowwaterfriction/main.cc index db7f3f14e47257ae7f76f38f2652ba1faca03c02..f231708a7aa0bc9b8dfb4f06ce5a28a5f18a3bb8 100644 --- a/examples/shallowwaterfriction/main.cc +++ b/examples/shallowwaterfriction/main.cc @@ -172,9 +172,6 @@ int main(int argc, char** argv) try // [[codeblock]] timeLoop->start(); do { - // First we define the old solution as the solution of the previous time step for storage evaluations. - assembler->setPreviousSolution(xOld); - // We solve the non-linear system with time step control, using Newthon's method. nonLinearSolver.solve(x,*timeLoop); diff --git a/test/porousmediumflow/2pncmin/implicit/nonisothermal/main.cc b/test/porousmediumflow/2pncmin/implicit/nonisothermal/main.cc index 243c331894d6a1b66e65bef91bb02556313557c0..2ecd03a0280d3cf33c1450f3a01b3cbc113ad7cd 100644 --- a/test/porousmediumflow/2pncmin/implicit/nonisothermal/main.cc +++ b/test/porousmediumflow/2pncmin/implicit/nonisothermal/main.cc @@ -180,9 +180,6 @@ int main(int argc, char** argv) try problem->setTime( timeLoop->time() + timeLoop->timeStepSize() ); problem->setTimeStepSize( timeLoop->timeStepSize() ); - // set previous solution for storage evaluations - assembler->setPreviousSolution(xOld); - // solve the non-linear system with time step control nonLinearSolver.solve(x, *timeLoop); diff --git a/test/porousmediumflow/tracer/multiphase/main.cc b/test/porousmediumflow/tracer/multiphase/main.cc index bcc4a5d6843a1e12ceb57a5f591def7ab6f361ec..a797ee6f6a6cb9567f5c0ce55fdf53f15fc35e64 100644 --- a/test/porousmediumflow/tracer/multiphase/main.cc +++ b/test/porousmediumflow/tracer/multiphase/main.cc @@ -113,7 +113,6 @@ int main(int argc, char** argv) try //! the assembler with time loop for instationary problem using Assembler = FVAssembler<TypeTag, DiffMethod::numeric, /*implicit=*/false>; auto assembler = std::make_shared<Assembler>(problem, gridGeometry, gridVariables, timeLoop, xOld); - assembler->setPreviousSolution(xOld); //! the linear solver using LinearSolver = ExplicitDiagonalSolver;