]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add function for general dimension.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 24 Jul 2000 08:16:05 +0000 (08:16 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 24 Jul 2000 08:16:05 +0000 (08:16 +0000)
git-svn-id: https://svn.dealii.org/trunk@3197 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/numerics/derivative_approximation.cc
deal.II/deal.II/source/numerics/gradient_estimator.cc

index 5b6db2d9eba4c675e7b439bc201d7fbb7f8bf478..7efe887e0691ba6a2894f02965fe9daa2dbb86da 100644 (file)
@@ -121,6 +121,29 @@ derivative_norm (const Derivative &d)
 
 
 
+template <int dim>
+inline
+double
+DerivativeApproximation::SecondDerivative<dim>::
+derivative_norm (const Derivative &d)
+{
+                                  // computing the spectral norm is
+                                  // not so simple in general. it is
+                                  // feasible for dim==3, since then
+                                  // there are still closed form
+                                  // expressions of the roots of the
+                                  // third order characteristic
+                                  // polynomial, and they can easily
+                                  // be computed using
+                                  // maple. however, for higher
+                                  // dimensions, some other method
+                                  // needs to be employed.
+  Assert (false, ExcNotImplemented());
+  return 0;
+};
+
+
+
 template <int dim>
 inline
 void
index 5b6db2d9eba4c675e7b439bc201d7fbb7f8bf478..7efe887e0691ba6a2894f02965fe9daa2dbb86da 100644 (file)
@@ -121,6 +121,29 @@ derivative_norm (const Derivative &d)
 
 
 
+template <int dim>
+inline
+double
+DerivativeApproximation::SecondDerivative<dim>::
+derivative_norm (const Derivative &d)
+{
+                                  // computing the spectral norm is
+                                  // not so simple in general. it is
+                                  // feasible for dim==3, since then
+                                  // there are still closed form
+                                  // expressions of the roots of the
+                                  // third order characteristic
+                                  // polynomial, and they can easily
+                                  // be computed using
+                                  // maple. however, for higher
+                                  // dimensions, some other method
+                                  // needs to be employed.
+  Assert (false, ExcNotImplemented());
+  return 0;
+};
+
+
+
 template <int dim>
 inline
 void

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.