From: wolf Date: Fri, 12 Feb 1999 21:00:23 +0000 (+0000) Subject: Move the two inline functions to the .cc file, because inlined template functions... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c802d9f826cf55913da0f8d98c80f876c55d099f;p=dealii-svn.git Move the two inline functions to the .cc file, because inlined template functions seem to not be properly generated if they are not accessed (which presently is the case). git-svn-id: https://svn.dealii.org/trunk@794 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/fe/fe.h b/deal.II/deal.II/include/fe/fe.h index f1ade0acd4..e4ae48e198 100644 --- a/deal.II/deal.II/include/fe/fe.h +++ b/deal.II/deal.II/include/fe/fe.h @@ -1164,25 +1164,8 @@ class FiniteElement : public FiniteElementBase { DeclException0 (ExcJacobiDeterminantHasWrongSign); }; -template -inline unsigned -FiniteElementBase::component_to_system_index (unsigned component, - unsigned component_index) const -{ - Assert(false, ExcInvalidIndex(component)); - return component_index; -} -template -inline pair -FiniteElementBase::system_to_component_index (unsigned index) const -{ - Assert(false, ExcInvalidIndex(index)); - return pair(0,0); -} - - /*---------------------------- fe.h ---------------------------*/ /* end of #ifndef __fe_H */ diff --git a/deal.II/deal.II/source/fe/fe.cc b/deal.II/deal.II/source/fe/fe.cc index 7a619ebde6..2f2597f18b 100644 --- a/deal.II/deal.II/source/fe/fe.cc +++ b/deal.II/deal.II/source/fe/fe.cc @@ -218,6 +218,26 @@ FiniteElement::FiniteElement (const FiniteElementData &fe_data) : +template +unsigned +FiniteElementBase::component_to_system_index (unsigned component, + unsigned component_index) const +{ + Assert(false, ExcInvalidIndex(component)); + return component_index; +} + + +template +pair +FiniteElementBase::system_to_component_index (unsigned index) const +{ + Assert(false, ExcInvalidIndex(index)); + return pair(0,0); +} + + + #if deal_II_dimension == 1 // declare this function to be explicitely specialized before first use