]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add a comment.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 12 Aug 2011 23:26:02 +0000 (23:26 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 12 Aug 2011 23:26:02 +0000 (23:26 +0000)
git-svn-id: https://svn.dealii.org/trunk@24060 0785d39b-7218-0410-832d-ea1e28bc413d

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

index fd3acf49f30615d015aad12ef74aecd444a3ffaa..399f3cfae097217f541ff3c58b757789c0bf4e51 100644 (file)
@@ -1765,6 +1765,11 @@ void BoussinesqFlowProblem<dim>::project_temperature_field ()
 
 //  old_temperature_solution = solution;
   old_temperature_solution.reinit(solution, false, true);
+                                  // this is good enough: no need to set
+                                  // current temperature since we need this
+                                  // field only for computing the next stokes
+                                  // system, which depends on the temperature
+                                  // of the *previous* time step
 }
 
 

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.