From 16e7b693495531439135348f483ba5616d0c3fde Mon Sep 17 00:00:00 2001 From: bangerth Date: Thu, 10 Aug 2006 18:42:49 +0000 Subject: [PATCH] Do away with a global function in a header file git-svn-id: https://svn.dealii.org/trunk@13634 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/numerics/vectors.templates.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/deal.II/deal.II/include/numerics/vectors.templates.h b/deal.II/deal.II/include/numerics/vectors.templates.h index e956d7248e..efb99a2b99 100644 --- a/deal.II/deal.II/include/numerics/vectors.templates.h +++ b/deal.II/deal.II/include/numerics/vectors.templates.h @@ -44,13 +44,6 @@ //TODO[RH]: Use StaticQ1Mapping where appropriate -template -inline double sqr_point (const Tensor<1,dim> &p) -{ - return p * p; -} - - template void VectorTools::interpolate (const Mapping &mapping, const DoFHandler &dof, @@ -1678,7 +1671,7 @@ namespace internal std::fill_n (psi_scalar.begin(), n_q_points, 0.0); for (unsigned int k=0; k