From 449b48bde375d3a2b91b2b0b3c8ce101f03d55a4 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 16 Feb 2011 14:49:45 +0000 Subject: [PATCH] Undo r23348 now that this isn't necessary any more. git-svn-id: https://svn.dealii.org/trunk@23376 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-32/step-32.cc | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/deal.II/examples/step-32/step-32.cc b/deal.II/examples/step-32/step-32.cc index 59621e80cb..1323fcd75b 100644 --- a/deal.II/examples/step-32/step-32.cc +++ b/deal.II/examples/step-32/step-32.cc @@ -3572,26 +3572,11 @@ void BoussinesqFlowProblem::run (const std::string parameter_filename) old_temperature_solution = temperature_solution; if (old_time_step > 0) { - TrilinosWrappers::MPI::BlockVector distributed_stokes_solution (stokes_rhs); - distributed_stokes_solution.block(0).reinit(stokes_solution.block(0),false,true); - distributed_stokes_solution.block(1).reinit(stokes_solution.block(1),false,true); - distributed_stokes_solution.sadd (1.+time_step/old_time_step, -time_step/old_time_step, - old_old_stokes_solution); - stokes_solution.block(0).reinit(distributed_stokes_solution.block(0), false, true); - stokes_solution.block(1).reinit(distributed_stokes_solution.block(1), false, true); - - TrilinosWrappers::MPI::Vector - distributed_temperature_solution (temperature_rhs); - distributed_temperature_solution.reinit(temperature_solution, false, true); - TrilinosWrappers::MPI::Vector - distributed_old_old_temperature_solution (temperature_rhs); - distributed_old_old_temperature_solution.reinit(old_old_temperature_solution, false, true); - - - distributed_temperature_solution.sadd (1.+time_step/old_time_step, - -time_step/old_time_step, - distributed_old_old_temperature_solution); - temperature_solution.reinit(distributed_temperature_solution, false, true); + stokes_solution.sadd (1.+time_step/old_time_step, -time_step/old_time_step, + old_old_stokes_solution); + temperature_solution.sadd (1.+time_step/old_time_step, + -time_step/old_time_step, + old_old_temperature_solution); } } while (true); -- 2.39.5