From: bangerth Date: Thu, 24 Jun 2010 01:36:42 +0000 (+0000) Subject: Rename function. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f89a428377eebd0c9ea8b1078716630f30eec4d;p=dealii-svn.git Rename function. git-svn-id: https://svn.dealii.org/trunk@21303 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-45/step-45.cc b/deal.II/examples/step-45/step-45.cc index fc60d7f623..356d85a0a9 100644 --- a/deal.II/examples/step-45/step-45.cc +++ b/deal.II/examples/step-45/step-45.cc @@ -80,7 +80,7 @@ class LaplaceProblem void assemble_system (); void output_results (); - void setup_system (); + void make_grid_and_dofs (); void solve (); }; @@ -129,7 +129,7 @@ LaplaceProblem::LaplaceProblem () {} -void LaplaceProblem::setup_system () +void LaplaceProblem::make_grid_and_dofs () { GridGenerator::hyper_cube (triangulation); // We change the boundary indicator on the @@ -352,8 +352,9 @@ void LaplaceProblem::output_results () // And another function copied from previous // programs: -void LaplaceProblem::run () { - setup_system (); +void LaplaceProblem::run () +{ + make_grid_and_dofs(); assemble_system (); solve (); output_results ();