]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Re-introduce setting old_old_stokes_solution = old_stokes_solution.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 18 Feb 2011 22:16:51 +0000 (22:16 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 18 Feb 2011 22:16:51 +0000 (22:16 +0000)
git-svn-id: https://svn.dealii.org/trunk@23403 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-32/step-32.cc

index 014370aa6061e975041e5217f26b619e6d960144..ec9b66fe2332388a5487e20dbe7e403e71e33628 100644 (file)
@@ -3623,9 +3623,8 @@ void BoussinesqFlowProblem<dim>::run (const std::string parameter_filename)
 
                                       // otherwise prepare for the
                                       // next time step
-      TrilinosWrappers::MPI::BlockVector old_old_stokes_solution (old_stokes_solution);
-      old_old_stokes_solution.block(0).reinit(old_stokes_solution.block(0),false,true);
-      old_old_stokes_solution.block(1).reinit(old_stokes_solution.block(1),false,true);
+      TrilinosWrappers::MPI::BlockVector old_old_stokes_solution;
+      old_old_stokes_solution      = old_stokes_solution;
       old_stokes_solution          = stokes_solution;
       old_old_temperature_solution = old_temperature_solution;
       old_temperature_solution     = temperature_solution;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.