From: bangerth Date: Wed, 10 Apr 2013 11:42:47 +0000 (+0000) Subject: Rename two variables. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae9a53a3c7e212869aac10b4891dec00b0275198;p=dealii-svn.git Rename two variables. git-svn-id: https://svn.dealii.org/trunk@29244 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-26/step-26.cc b/deal.II/examples/step-26/step-26.cc index fbb4ddafaa..d089374625 100644 --- a/deal.II/examples/step-26/step-26.cc +++ b/deal.II/examples/step-26/step-26.cc @@ -360,11 +360,11 @@ namespace Step26 template void HeatEquation::run() { - const unsigned int initial_refinement = (dim == 2 ? 4 : 2); - const unsigned int n_pre_refinement_steps = 3; + const unsigned int initial_global_refinement = (dim == 2 ? 4 : 2); + const unsigned int n_adaptive_pre_refinement_steps = 3; GridGenerator::hyper_L (triangulation); - triangulation.refine_global (initial_refinement); + triangulation.refine_global (initial_global_refinement); setup_system(); @@ -443,10 +443,10 @@ start_time_iteration: output_results(); if ((timestep_number == 1) && - (pre_refinement_step < n_pre_refinement_steps)) + (pre_refinement_step < n_adaptive_pre_refinement_steps)) { - refine_mesh (initial_refinement, - initial_refinement + n_pre_refinement_steps); + refine_mesh (initial_global_refinement, + initial_global_refinement + n_adaptive_pre_refinement_steps); ++pre_refinement_step; std::cout << std::endl; @@ -454,8 +454,8 @@ start_time_iteration: goto start_time_iteration; } else if ((timestep_number > 0) && (timestep_number % 5 == 0)) - refine_mesh (initial_refinement, - initial_refinement + n_pre_refinement_steps); + refine_mesh (initial_global_refinement, + initial_global_refinement + n_adaptive_pre_refinement_steps); old_solution = solution; }