From: Wolfgang Bangerth Date: Wed, 13 Feb 2013 13:53:11 +0000 (+0000) Subject: Avoid deprecated function. X-Git-Tag: v8.0.0~1324 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3d9307a1e635b18df618a6076f5b1f18c9295a2;p=dealii.git Avoid deprecated function. git-svn-id: https://svn.dealii.org/trunk@28363 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/numerics/derivative_approximation.cc b/deal.II/source/numerics/derivative_approximation.cc index 1f4c109a2d..cff3f585b3 100644 --- a/deal.II/source/numerics/derivative_approximation.cc +++ b/deal.II/source/numerics/derivative_approximation.cc @@ -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 &fe_values, if (fe_values.get_fe().n_components() == 1) { std::vector values (1); - fe_values.get_function_grads (solution, values); + fe_values.get_function_gradients (solution, values); return values[0]; } else { std::vector > values (1, std::vector(fe_values.get_fe().n_components())); - fe_values.get_function_grads (solution, values); + fe_values.get_function_gradients (solution, values); return values[0][component]; }; }