]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Say something more.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 22 Sep 2011 23:56:46 +0000 (23:56 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 22 Sep 2011 23:56:46 +0000 (23:56 +0000)
git-svn-id: https://svn.dealii.org/trunk@24377 0785d39b-7218-0410-832d-ea1e28bc413d

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

index f1087f528a82586451ccd72b52d1663988c5312a..f828f92d3407f6cf3ce3500e594dcca5bd87e2f9 100644 (file)
@@ -1876,7 +1876,16 @@ void BoussinesqFlowProblem<dim>::project_temperature_field ()
                                   // <code>temperature_solution</code>
                                   // and
                                   // <code>old_old_temperature_solution</code>
-                                  // as well:
+                                  // as well. The second and third
+                                  // argument to the reinit function
+                                  // indicates that the elements of
+                                  // the first argument shall be
+                                  // copied and that while the
+                                  // <code>solution</code> vector is
+                                  // strictly distributed, the
+                                  // vectors here initialized can
+                                  // (and indeed do) have ghost
+                                  // elements:
   temperature_solution.reinit(solution, false, true);
   old_temperature_solution.reinit(solution, false, true);
   old_old_temperature_solution.reinit(solution, false, true);

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.