]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Reorder initializers in constructors to avoid warning messages.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 26 Nov 1998 08:59:55 +0000 (08:59 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 26 Nov 1998 08:59:55 +0000 (08:59 +0000)
git-svn-id: https://svn.dealii.org/trunk@678 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/Attic/examples/error-estimation/error-estimation.cc
tests/big-tests/error-estimation/error-estimation.cc

index bb42eee3de6487e18811cb488a73b76782c55fe3..a51890463753f082d21f3a1dc1594cb6adde8bc0 100644 (file)
@@ -34,16 +34,16 @@ class PoissonEquation :  public Equation<dim> {
   public:
     PoissonEquation (const Function<dim> &rhs) :
                    Equation<dim>(1),
+                   use_coefficient(false),
                    right_hand_side (rhs),
-                   coefficient (default_coefficient),
-                   use_coefficient(false) {};
+                   coefficient (default_coefficient) {};
 
     PoissonEquation (const Function<dim> &rhs,
                     const Function<dim> &coefficient ) :
                    Equation<dim>(1),
+                   use_coefficient(true),
                    right_hand_side (rhs),
-                   coefficient (coefficient),
-                   use_coefficient(true) {};
+                   coefficient (coefficient) {};
 
     virtual void assemble (dFMatrix            &cell_matrix,
                           dVector             &rhs,
index bb42eee3de6487e18811cb488a73b76782c55fe3..a51890463753f082d21f3a1dc1594cb6adde8bc0 100644 (file)
@@ -34,16 +34,16 @@ class PoissonEquation :  public Equation<dim> {
   public:
     PoissonEquation (const Function<dim> &rhs) :
                    Equation<dim>(1),
+                   use_coefficient(false),
                    right_hand_side (rhs),
-                   coefficient (default_coefficient),
-                   use_coefficient(false) {};
+                   coefficient (default_coefficient) {};
 
     PoissonEquation (const Function<dim> &rhs,
                     const Function<dim> &coefficient ) :
                    Equation<dim>(1),
+                   use_coefficient(true),
                    right_hand_side (rhs),
-                   coefficient (coefficient),
-                   use_coefficient(true) {};
+                   coefficient (coefficient) {};
 
     virtual void assemble (dFMatrix            &cell_matrix,
                           dVector             &rhs,

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.