From 8a8d512001dba816a205deb16c50f1a5cb92fdb9 Mon Sep 17 00:00:00 2001 From: bangerth Date: Wed, 13 Feb 2013 13:53:11 +0000 Subject: [PATCH] Avoid deprecated function. git-svn-id: https://svn.dealii.org/trunk@28363 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/numerics/derivative_approximation.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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]; }; } -- 2.39.5