]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Rename a couple of variables.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 22 Sep 2008 02:03:09 +0000 (02:03 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 22 Sep 2008 02:03:09 +0000 (02:03 +0000)
git-svn-id: https://svn.dealii.org/trunk@16890 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 4f82e4890939ec003732547bd3a45b099d386673..98e4ed6ca8933d2d1fce76d601b1d2fef6fd0e5d 100644 (file)
@@ -566,8 +566,8 @@ compute_viscosity(const std::vector<double>          &old_temperature,
 template <int dim>
 void BoussinesqFlowProblem<dim>::setup_dofs ()
 {
-  std::vector<unsigned int> stokes_block_component (dim+1,0);
-  stokes_block_component[dim] = 1;
+  std::vector<unsigned int> stokes_sub_blocks (dim+1,0);
+  stokes_sub_blocks[dim] = 1;
 
   GridTools::partition_triangulation (trilinos_communicator.NumProc(), 
                                      triangulation);
@@ -576,7 +576,7 @@ void BoussinesqFlowProblem<dim>::setup_dofs ()
     stokes_dof_handler.distribute_dofs (stokes_fe);
     DoFRenumbering::Cuthill_McKee (stokes_dof_handler);
     DoFRenumbering::subdomain_wise (stokes_dof_handler);
-    DoFRenumbering::component_wise (stokes_dof_handler, stokes_block_component);
+    DoFRenumbering::component_wise (stokes_dof_handler, stokes_sub_blocks);
     
     stokes_constraints.clear ();
     DoFTools::make_hanging_node_constraints (stokes_dof_handler,
@@ -601,7 +601,7 @@ void BoussinesqFlowProblem<dim>::setup_dofs ()
   
   std::vector<unsigned int> stokes_dofs_per_block (2);
   DoFTools::count_dofs_per_block (stokes_dof_handler, stokes_dofs_per_block,
-                                 stokes_block_component);
+                                 stokes_sub_blocks);
   
   const unsigned int n_u = stokes_dofs_per_block[0],
                      n_p = stokes_dofs_per_block[1],

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.