]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Avoid deprecated function.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 13 Feb 2013 13:53:11 +0000 (13:53 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 13 Feb 2013 13:53:11 +0000 (13:53 +0000)
git-svn-id: https://svn.dealii.org/trunk@28363 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/numerics/derivative_approximation.cc

index 1f4c109a2d7d9ad5586e8c830efbc31d00b37e83..cff3f585b3954bde221a2270fddb6355b1285b50 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 by the deal.II authors
+//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012, 2013 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -121,14 +121,14 @@ get_projected_derivative (const FEValues<dim,spacedim> &fe_values,
   if (fe_values.get_fe().n_components() == 1)
     {
       std::vector<ProjectedDerivative> values (1);
-      fe_values.get_function_grads (solution, values);
+      fe_values.get_function_gradients (solution, values);
       return values[0];
     }
   else
     {
       std::vector<std::vector<ProjectedDerivative> > values
       (1, std::vector<ProjectedDerivative>(fe_values.get_fe().n_components()));
-      fe_values.get_function_grads (solution, values);
+      fe_values.get_function_gradients (solution, values);
       return values[0][component];
     };
 }

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.