]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a bug noticed by Huan Sun.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 10 Feb 2010 20:51:42 +0000 (20:51 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 10 Feb 2010 20:51:42 +0000 (20:51 +0000)
git-svn-id: https://svn.dealii.org/trunk@20544 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 1d6e147a8ed5e1a82846277cc991229f3ab0a510..6c4973a43cb3bccbf481321811f62d7f291513cd 100644 (file)
@@ -4,7 +4,7 @@
 
 /*    $Id$       */
 /*                                                                */
-/*    Copyright (C) 2007, 2008, 2009 by the deal.II authors */
+/*    Copyright (C) 2007, 2008, 2009, 2010 by the deal.II authors */
 /*                                                                */
 /*    This file is subject to QPL and may not be  distributed     */
 /*    without copyright and license information. Please refer     */
@@ -2544,7 +2544,7 @@ void BoussinesqFlowProblem<dim>::output_results ()  const
                      ExcInternalError());
              Assert (joint_fe.system_to_base_index(i).second
                      <
-                     local_stokes_dof_indices.size(),
+                     local_temperature_dof_indices.size(),
                      ExcInternalError());
              joint_solution(local_joint_dof_indices[i])
                = temperature_solution(local_temperature_dof_indices[joint_fe.system_to_base_index(i).second]);
index 348a92736385afb7f3e1fde14fd9abe32d45dda3..9ca65c24a790309f7e167a041a76f26d28deb3eb 100644 (file)
@@ -7,7 +7,7 @@
 /* Author: Martin Kronbichler, Uppsala University,
            Wolfgang Bangerth, Texas A&M University 2008, 2009 */
 /*                                                                */
-/*    Copyright (C) 2008, 2009 by the deal.II authors */
+/*    Copyright (C) 2008, 2009, 2010 by the deal.II authors */
 /*                                                                */
 /*    This file is subject to QPL and may not be  distributed     */
 /*    without copyright and license information. Please refer     */
@@ -2923,7 +2923,7 @@ void BoussinesqFlowProblem<dim>::output_results ()
                {
                  Assert (joint_fe.system_to_base_index(i).second
                          <
-                         local_stokes_dof_indices.size(),
+                         local_temperature_dof_indices.size(),
                          ExcInternalError());
                  joint_solution(local_joint_dof_indices[i])
                    = temperature_solution(local_temperature_dof_indices

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.