]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use standard name for variables.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 14 Aug 2009 17:59:11 +0000 (17:59 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 14 Aug 2009 17:59:11 +0000 (17:59 +0000)
git-svn-id: https://svn.dealii.org/trunk@19266 0785d39b-7218-0410-832d-ea1e28bc413d

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

index b284825b2af8fe21c338468406c74c374ac8e419..70c04ef8b0cc9ff7fb0b660c95a2b27508b60a12 100644 (file)
@@ -1314,7 +1314,7 @@ void BoussinesqFlowProblem<dim>::project_temperature_field ()
   const unsigned int dofs_per_cell = fe_values.dofs_per_cell,
                     n_q_points    = fe_values.n_quadrature_points;
 
-  std::vector<unsigned int> dofs (dofs_per_cell);
+  std::vector<unsigned int> local_dof_indices (dofs_per_cell);
   Vector<double> cell_vector (dofs_per_cell);
 
   typename DoFHandler<dim>::active_cell_iterator
@@ -1344,10 +1344,10 @@ void BoussinesqFlowProblem<dim>::project_temperature_field ()
                              fe_values.shape_value(i,point) *
                              weights[point];
 
-       cell->get_dof_indices (dofs);
+       cell->get_dof_indices (local_dof_indices);
 
        temperature_constraints.distribute_local_to_global (cell_vector,
-                                                           dofs,
+                                                           local_dof_indices,
                                                            rhs);
       }
 

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.