]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Move definition of static member variables to .cc file.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 23 Jan 2003 22:41:53 +0000 (22:41 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 23 Jan 2003 22:41:53 +0000 (22:41 +0000)
git-svn-id: https://svn.dealii.org/trunk@6948 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/numerics/derivative_approximation.h
deal.II/deal.II/source/numerics/derivative_approximation.cc

index 03a6848b94a49563f9d2b266249f54045a27e50c..3ece87276ec95b895045ee4feffc5fd7a66cac07 100644 (file)
@@ -278,7 +278,7 @@ class DerivativeApproximation
                                          * @p{get_projected_derivative}
                                          * to work.
                                          */
-       static const UpdateFlags update_flags = update_values;
+       static const UpdateFlags update_flags;
 
                                         /**
                                          * Declare the data type which
@@ -358,7 +358,7 @@ class DerivativeApproximation
                                          * @p{get_projected_derivative}
                                          * to work.
                                          */
-       static const UpdateFlags update_flags = update_gradients;
+       static const UpdateFlags update_flags;
 
                                         /**
                                          * Declare the data type which
index 0c3fc708132d8eca43ec681932530c4325a75f50..889aa73478941eb8e63193b92005987b14f0e17d 100644 (file)
@@ -38,10 +38,10 @@ static T sqr (const T t)
 
 // static variables
 template <int dim>
-const UpdateFlags DerivativeApproximation::Gradient<dim>::update_flags;
+const UpdateFlags DerivativeApproximation::Gradient<dim>::update_flags = update_values;
 
 template <int dim>
-const UpdateFlags DerivativeApproximation::SecondDerivative<dim>::update_flags;
+const UpdateFlags DerivativeApproximation::SecondDerivative<dim>::update_flags = update_gradients;
 
 
 

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.