From: bangerth Date: Mon, 22 Sep 2008 02:03:09 +0000 (+0000) Subject: Rename a couple of variables. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=933c11683f9bedb51d1219f6537393dccb729117;p=dealii-svn.git Rename a couple of variables. git-svn-id: https://svn.dealii.org/trunk@16890 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-32/step-32.cc b/deal.II/examples/step-32/step-32.cc index 4f82e48909..98e4ed6ca8 100644 --- a/deal.II/examples/step-32/step-32.cc +++ b/deal.II/examples/step-32/step-32.cc @@ -566,8 +566,8 @@ compute_viscosity(const std::vector &old_temperature, template void BoussinesqFlowProblem::setup_dofs () { - std::vector stokes_block_component (dim+1,0); - stokes_block_component[dim] = 1; + std::vector stokes_sub_blocks (dim+1,0); + stokes_sub_blocks[dim] = 1; GridTools::partition_triangulation (trilinos_communicator.NumProc(), triangulation); @@ -576,7 +576,7 @@ void BoussinesqFlowProblem::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::setup_dofs () std::vector 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],