From 536f10329dad97fa6cf4f975ead53495b22f0569 Mon Sep 17 00:00:00 2001 From: bangerth Date: Wed, 5 Dec 2012 21:11:38 +0000 Subject: [PATCH] Move inline functions to where they should be. git-svn-id: https://svn.dealii.org/trunk@27773 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/fe/fe_values.h | 27 ----------------- .../include/deal.II/fe/fe_values_extractors.h | 29 +++++++++++++++++++ 2 files changed, 29 insertions(+), 27 deletions(-) diff --git a/deal.II/include/deal.II/fe/fe_values.h b/deal.II/include/deal.II/fe/fe_values.h index 81a8e17349..9cb34a481f 100644 --- a/deal.II/include/deal.II/fe/fe_values.h +++ b/deal.II/include/deal.II/fe/fe_values.h @@ -3808,33 +3808,6 @@ private: #ifndef DOXYGEN -/*------------------------ Inline functions: namespace FEValuesExtractors --------*/ - -namespace FEValuesExtractors -{ - inline - Scalar::Scalar (const unsigned int component) - : - component (component) - {} - - - - inline - Vector::Vector (const unsigned int first_vector_component) - : - first_vector_component (first_vector_component) - {} - - template - inline - SymmetricTensor::SymmetricTensor (const unsigned int first_tensor_component) - : - first_tensor_component (first_tensor_component) - {} -} - - /*------------------------ Inline functions: namespace FEValuesViews --------*/ namespace FEValuesViews diff --git a/deal.II/include/deal.II/fe/fe_values_extractors.h b/deal.II/include/deal.II/fe/fe_values_extractors.h index 07b7874930..c942224f51 100644 --- a/deal.II/include/deal.II/fe/fe_values_extractors.h +++ b/deal.II/include/deal.II/fe/fe_values_extractors.h @@ -170,6 +170,35 @@ namespace FEValuesExtractors } +/*------------------------ Inline functions: namespace FEValuesExtractors --------*/ + +namespace FEValuesExtractors +{ + inline + Scalar::Scalar (const unsigned int component) + : + component (component) + {} + + + + inline + Vector::Vector (const unsigned int first_vector_component) + : + first_vector_component (first_vector_component) + {} + + template + inline + SymmetricTensor::SymmetricTensor (const unsigned int first_tensor_component) + : + first_tensor_component (first_tensor_component) + {} +} + + + + DEAL_II_NAMESPACE_CLOSE #endif -- 2.39.5