From: Wolfgang Bangerth Date: Fri, 13 Aug 2010 23:21:09 +0000 (+0000) Subject: No need to explicitly instantiate functions in an internal namespace X-Git-Tag: v8.0.0~5733 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c72cf75b38208a979c63cd8fb8f38df9731d60a6;p=dealii.git No need to explicitly instantiate functions in an internal namespace -- they are not supposed to be called from user space anyway, and are automatically instantiated at the point of use in the .templates.h file by the compiler. git-svn-id: https://svn.dealii.org/trunk@21653 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/numerics/vectors.cc b/deal.II/deal.II/source/numerics/vectors.cc index 92bddb10dc..84c6771b47 100644 --- a/deal.II/deal.II/source/numerics/vectors.cc +++ b/deal.II/deal.II/source/numerics/vectors.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by the deal.II authors +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2010 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -114,7 +114,7 @@ VectorTools::create_boundary_right_hand_side const std::set &); template -void VectorTools::interpolate_boundary_values ( +void VectorTools::interpolate_boundary_values ( const DoFHandler &, const unsigned char, const Function &, @@ -138,7 +138,7 @@ void VectorTools::interpolate_boundary_values ( const std::vector &); template -void VectorTools::interpolate_boundary_values ( +void VectorTools::interpolate_boundary_values ( const DoFHandler &, const unsigned char, const Function &, @@ -162,7 +162,7 @@ void VectorTools::interpolate_boundary_values ( const std::vector &); template -void VectorTools::interpolate_boundary_values ( +void VectorTools::interpolate_boundary_values ( const Mapping &, const DoFHandler &, const FunctionMap::type &, @@ -244,67 +244,12 @@ VectorTools::compute_no_normal_flux_constraints (const DoFHandler::cell_iterator&, - const unsigned int, - FEValues&, - const Quadrature&, - const Function&, - const unsigned int, - std::vector&); -template -void -internals::VectorTools::compute_face_projection (const hp::DoFHandler::cell_iterator&, - const unsigned int, - FEValues&, - const Quadrature&, - const Function&, - const unsigned int, - std::vector&); -template -void -internals::VectorTools::compute_edge_projection (const DoFHandler::cell_iterator&, - const unsigned int, - const unsigned int, - FEValues&, - const Quadrature&, - const Function&, - const unsigned int, - std::vector&); -template -void -internals::VectorTools::compute_edge_projection (const hp::DoFHandler::cell_iterator&, - const unsigned int, - const unsigned int, - FEValues&, - const Quadrature&, - const Function&, - const unsigned int, - std::vector&); -template -void -internals::VectorTools::compute_face_projection (const DoFHandler::cell_iterator&, - const unsigned int, - FEValues&, - const Function&, - const unsigned int, - std::vector&); -template -void -internals::VectorTools::compute_face_projection (const hp::DoFHandler::cell_iterator&, - const unsigned int, - FEValues&, - const Function&, - const unsigned int, - std::vector&); - // // Due to introducing the DoFHandler as a template parameter, // // the following instantiations are required in 1d // #if deal_II_dimension == 1 // template -// void VectorTools::interpolate_boundary_values +// void VectorTools::interpolate_boundary_values // (const Mapping<1> &, // const DoFHandler<1> &, // const unsigned char,