From 098268b1b96cf42f07a55b292abafa1f35b1b6f6 Mon Sep 17 00:00:00 2001 From: wolf Date: Fri, 26 Mar 1999 18:46:06 +0000 Subject: [PATCH] Clean-ups. git-svn-id: https://svn.dealii.org/trunk@1057 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/fe/fe.h | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/deal.II/deal.II/include/fe/fe.h b/deal.II/deal.II/include/fe/fe.h index 2e463e4aa6..96756519f8 100644 --- a/deal.II/deal.II/include/fe/fe.h +++ b/deal.II/deal.II/include/fe/fe.h @@ -1397,8 +1397,14 @@ class FiniteElement : public FiniteElementBase << arg1 << ") because it would be prohibitively expensive."); }; + + +/* ------------------------------- Inline functions ----------------------- */ + + template -inline unsigned int +inline +unsigned int FiniteElementBase::component_to_system_index (unsigned int component, unsigned int component_index) const { @@ -1408,16 +1414,22 @@ FiniteElementBase::component_to_system_index (unsigned int component, return component_to_system_table[component][component_index]; } + + template -inline pair +inline +pair FiniteElementBase::system_to_component_index (unsigned int index) const { Assert(index < system_to_component_table.size(), ExcInvalidIndex(index)); return system_to_component_table[index]; } + + template -inline unsigned int +inline +unsigned int FiniteElementBase::face_component_to_system_index (unsigned int component, unsigned int component_index) const { @@ -1427,8 +1439,11 @@ FiniteElementBase::face_component_to_system_index (unsigned int component, return face_component_to_system_table[component][component_index]; } + + template -inline pair +inline +pair FiniteElementBase::face_system_to_component_index (unsigned int index) const { Assert(index < system_to_component_table.size(), ExcInvalidIndex(index)); -- 2.39.5