From: bangerth Date: Fri, 12 Oct 2007 18:02:17 +0000 (+0000) Subject: Remove the project_back_temperature function as we don't need it here (unlike for... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6f14eb2e2d4b74e267e306305f9bf2a1840d9bd;p=dealii-svn.git Remove the project_back_temperature function as we don't need it here (unlike for step-21) git-svn-id: https://svn.dealii.org/trunk@15307 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-22/step-22.cc b/deal.II/examples/step-22/step-22.cc index c22d20a1de..a02291d0f2 100644 --- a/deal.II/examples/step-22/step-22.cc +++ b/deal.II/examples/step-22/step-22.cc @@ -65,7 +65,6 @@ class BoussinesqFlowProblem void assemble_rhs_T (); double get_maximal_velocity () const; void solve (); - void project_back_temperature (); void output_results () const; const unsigned int degree; @@ -357,7 +356,7 @@ BoussinesqFlowProblem::BoussinesqFlowProblem (const unsigned int degree) FE_Q(degree), 1, FE_Q(degree), 1), dof_handler (triangulation), - n_refinement_steps (5), + n_refinement_steps (6), time_step (0) {} @@ -781,8 +780,6 @@ void BoussinesqFlowProblem::solve () } - project_back_temperature (); - std::cout << " " << solver_control.last_step() << " CG iterations for temperature." @@ -798,7 +795,7 @@ void BoussinesqFlowProblem::solve () template void BoussinesqFlowProblem::output_results () const { - if (timestep_number % 10 != 0) + if (timestep_number % 25 != 0) return; std::vector solution_names; @@ -839,21 +836,6 @@ void BoussinesqFlowProblem::output_results () const - -template -void -BoussinesqFlowProblem::project_back_temperature () -{ - for (unsigned int i=0; i 1) - solution.block(2)(i) = 1; -} - - - template double BoussinesqFlowProblem::get_maximal_velocity () const