From 19524adedaa887f01f9fe51f4f5aaa5535762e48 Mon Sep 17 00:00:00 2001 From: wolf Date: Wed, 26 Sep 2001 07:04:49 +0000 Subject: [PATCH] Remove a number inline statements in .cc files, as that marks the respective template functions 'weak' and lets them have internal linkage only with some compilers. git-svn-id: https://svn.dealii.org/branches/Branch-3-2@5064 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/source/tensor_product_polynomials.cc | 2 +- deal.II/deal.II/source/fe/fe_system.cc | 9 ++++----- deal.II/deal.II/source/fe/mapping_cartesian.cc | 2 -- deal.II/deal.II/source/fe/mapping_q1.cc | 10 ++++------ 4 files changed, 9 insertions(+), 14 deletions(-) diff --git a/deal.II/base/source/tensor_product_polynomials.cc b/deal.II/base/source/tensor_product_polynomials.cc index a1759afc37..79f95325c0 100644 --- a/deal.II/base/source/tensor_product_polynomials.cc +++ b/deal.II/base/source/tensor_product_polynomials.cc @@ -200,7 +200,7 @@ void TensorProductPolynomials::compute( } -template inline +template unsigned int TensorProductPolynomials::n_tensor_product_polynomials() const { diff --git a/deal.II/deal.II/source/fe/fe_system.cc b/deal.II/deal.II/source/fe/fe_system.cc index 191c766102..3e69faa4b7 100644 --- a/deal.II/deal.II/source/fe/fe_system.cc +++ b/deal.II/deal.II/source/fe/fe_system.cc @@ -63,7 +63,6 @@ FESystem::InternalData::~InternalData() template -inline typename FiniteElementBase::InternalDataBase & FESystem:: InternalData::get_fe_data (const unsigned int base_no) const @@ -76,7 +75,7 @@ InternalData::get_fe_data (const unsigned int base_no) const template -inline void +void FESystem:: InternalData::set_fe_data (const unsigned int base_no, typename FiniteElementBase::InternalDataBase *ptr) @@ -89,7 +88,7 @@ InternalData::set_fe_data (const unsigned int base_no, template -inline FEValuesData & +FEValuesData & FESystem:: InternalData::get_fe_values_data (const unsigned int base_no) const { @@ -102,7 +101,7 @@ InternalData::get_fe_values_data (const unsigned int base_no) const template -inline void +void FESystem:: InternalData::set_fe_values_data (const unsigned int base_no, FEValuesData *ptr) @@ -115,7 +114,7 @@ InternalData::set_fe_values_data (const unsigned int base_no, template -inline void +void FESystem:: InternalData::delete_fe_values_data (const unsigned int base_no) { diff --git a/deal.II/deal.II/source/fe/mapping_cartesian.cc b/deal.II/deal.II/source/fe/mapping_cartesian.cc index c6c67241f1..647a3af297 100644 --- a/deal.II/deal.II/source/fe/mapping_cartesian.cc +++ b/deal.II/deal.II/source/fe/mapping_cartesian.cc @@ -548,7 +548,6 @@ Point MappingCartesian::transform_real_to_unit_cell ( template template -inline void MappingCartesian:: contravariant_transformation (typename std::vector &dst, @@ -586,7 +585,6 @@ contravariant_transformation (typename std::vector &dst, template template -inline void MappingCartesian:: covariant_transformation (typename std::vector &dst, diff --git a/deal.II/deal.II/source/fe/mapping_q1.cc b/deal.II/deal.II/source/fe/mapping_q1.cc index 61785bd559..05c1eda9b7 100644 --- a/deal.II/deal.II/source/fe/mapping_q1.cc +++ b/deal.II/deal.II/source/fe/mapping_q1.cc @@ -41,7 +41,7 @@ MappingQ1::InternalData::InternalData (const unsigned int n_shape_functions -template inline +template double MappingQ1::InternalData::shape (const unsigned int qpoint, const unsigned int shape_nr) const @@ -54,7 +54,7 @@ MappingQ1::InternalData::shape (const unsigned int qpoint, -template inline +template double & MappingQ1::InternalData::shape (const unsigned int qpoint, const unsigned int shape_nr) @@ -66,7 +66,7 @@ MappingQ1::InternalData::shape (const unsigned int qpoint, } -template inline +template Tensor<1,dim> MappingQ1::InternalData::derivative (const unsigned int qpoint, const unsigned int shape_nr) const @@ -79,7 +79,7 @@ MappingQ1::InternalData::derivative (const unsigned int qpoint, -template inline +template Tensor<1,dim> & MappingQ1::InternalData::derivative (const unsigned int qpoint, const unsigned int shape_nr) @@ -1013,7 +1013,6 @@ void MappingQ1::transform_real_to_unit_cell_internal ( template template -inline void MappingQ1::contravariant_transformation (std::vector &dst, const std::vector &src, @@ -1047,7 +1046,6 @@ MappingQ1::contravariant_transformation (std::vector &dst, template template -inline void MappingQ1::covariant_transformation (std::vector &dst, const std::vector &src, -- 2.39.5