From 0e5e7e6f532211ce7d57e3771b28efcd93e1f716 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sat, 2 Aug 2014 06:34:06 -0500 Subject: [PATCH] Fix an instantiation. The existing instantiation works, but is not in line with the actual declaration of the function. This may or may not be the problem with the failing tests here http://cdash.kyomu.43-1.org/viewTest.php?onlyfailed&buildid=10664 that result from a missing instantiation. --- .../numerics/derivative_approximation.inst.in | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/source/numerics/derivative_approximation.inst.in b/source/numerics/derivative_approximation.inst.in index 10494f168b..668feb66c2 100644 --- a/source/numerics/derivative_approximation.inst.in +++ b/source/numerics/derivative_approximation.inst.in @@ -1,7 +1,7 @@ // --------------------------------------------------------------------- // $Id$ // -// Copyright (C) 2010 - 2013 by the deal.II authors +// Copyright (C) 2010 - 2014 by the deal.II authors // // This file is part of the deal.II library. // @@ -56,40 +56,41 @@ approximate_second_derivative template void approximate_derivative_tensor -(const Mapping & mapping, +(const Mapping::dimension,DH::space_dimension> &mapping, const DH &dof_handler, const VEC &solution, const DH::active_cell_iterator &cell, - Tensor<1,deal_II_dimension> &derivative, + Tensor<1,DH::dimension> &derivative, const unsigned int component); template void approximate_derivative_tensor -(const Mapping & mapping, +(const Mapping::dimension,DH::space_dimension> &mapping, const DH &dof_handler, const VEC &solution, const DH::active_cell_iterator &cell, - Tensor<2,deal_II_dimension> &derivative, + Tensor<2,DH::dimension> &derivative, const unsigned int component); template void approximate_derivative_tensor -(const Mapping & mapping, +(const Mapping::dimension,DH::space_dimension> &mapping, const DH &dof_handler, const VEC &solution, const DH::active_cell_iterator &cell, - Tensor<3,deal_II_dimension> &derivative, + Tensor<3,DH::dimension> &derivative, const unsigned int component); + template void approximate_derivative_tensor (const DH &dof_handler, const VEC &solution, const DH::active_cell_iterator &cell, - Tensor<1,deal_II_dimension> &derivative, + Tensor<1,DH::dimension> &derivative, const unsigned int component); template @@ -98,7 +99,7 @@ approximate_derivative_tensor (const DH &dof_handler, const VEC &solution, const DH::active_cell_iterator &cell, - Tensor<2,deal_II_dimension> &derivative, + Tensor<2,DH::dimension> &derivative, const unsigned int component); template @@ -107,7 +108,7 @@ approximate_derivative_tensor (const DH &dof_handler, const VEC &solution, const DH::active_cell_iterator &cell, - Tensor<3,deal_II_dimension> &derivative, + Tensor<3,DH::dimension> &derivative, const unsigned int component); \} -- 2.39.5