From: bangerth Date: Thu, 21 Aug 2008 15:32:27 +0000 (+0000) Subject: Don't take the degree as a constructor argument -- we know what we want now. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a08926c5db6c8c5c7f768dc6e0b80b9a50b9070;p=dealii-svn.git Don't take the degree as a constructor argument -- we know what we want now. git-svn-id: https://svn.dealii.org/trunk@16627 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-31/step-31.cc b/deal.II/examples/step-31/step-31.cc index 12c759d12f..56999c62d5 100644 --- a/deal.II/examples/step-31/step-31.cc +++ b/deal.II/examples/step-31/step-31.cc @@ -700,7 +700,7 @@ template class BoussinesqFlowProblem { public: - BoussinesqFlowProblem (const unsigned int degree); + BoussinesqFlowProblem (); void run (); private: @@ -792,7 +792,7 @@ class BoussinesqFlowProblem // options for the matrix assembly // and preconditioning. template -BoussinesqFlowProblem::BoussinesqFlowProblem (const unsigned int degree) +BoussinesqFlowProblem::BoussinesqFlowProblem () : triangulation (Triangulation::maximum_smoothing), @@ -2362,7 +2362,7 @@ int main () { deallog.depth_console (0); - BoussinesqFlowProblem<2> flow_problem(1); + BoussinesqFlowProblem<2> flow_problem; flow_problem.run (); } catch (std::exception &exc)