]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Don't take the degree as a constructor argument -- we know what we want now.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 21 Aug 2008 15:32:27 +0000 (15:32 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 21 Aug 2008 15:32:27 +0000 (15:32 +0000)
git-svn-id: https://svn.dealii.org/trunk@16627 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-31/step-31.cc

index 12c759d12f47c04e3649d92b87f64aded5f0a973..56999c62d50a96946e3b9d7204d4ede34043467b 100644 (file)
@@ -700,7 +700,7 @@ template <int dim>
 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 <int dim>
-BoussinesqFlowProblem<dim>::BoussinesqFlowProblem (const unsigned int degree)
+BoussinesqFlowProblem<dim>::BoussinesqFlowProblem ()
                 :
                triangulation (Triangulation<dim>::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)

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.