From: wolf Date: Wed, 13 Apr 2005 02:13:36 +0000 (+0000) Subject: Make a few functions inline, in hopes of fixing the icc71 build failure today. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69282d079cae7bb1462bde5a7a2666bab82075b6;p=dealii-svn.git Make a few functions inline, in hopes of fixing the icc71 build failure today. git-svn-id: https://svn.dealii.org/trunk@10470 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/fe/fe_tools.cc b/deal.II/deal.II/source/fe/fe_tools.cc index d8edb0d827..faed071f6d 100644 --- a/deal.II/deal.II/source/fe/fe_tools.cc +++ b/deal.II/deal.II/source/fe/fe_tools.cc @@ -50,6 +50,7 @@ namespace { template + inline unsigned int max_dofs_per_cell (const DoFHandler &dh) { @@ -58,6 +59,7 @@ namespace template + inline unsigned int max_dofs_per_face (const DoFHandler &dh) { @@ -66,6 +68,7 @@ namespace template + inline unsigned int n_components (const DoFHandler &dh) { @@ -86,6 +89,7 @@ namespace // T==double, and otherwise uses a // temporary template + inline void gim_forwarder (const FiniteElement &fe1, const FiniteElement &fe2, FullMatrix &interpolation_matrix) @@ -95,6 +99,7 @@ namespace template + inline void gim_forwarder (const FiniteElement &fe1, const FiniteElement &fe2, FullMatrix &interpolation_matrix) @@ -108,6 +113,7 @@ namespace // return true if the given pattern // string matches the given name at // the first position of the string + inline bool match_at_string_start (const std::string &name, const std::string &pattern) @@ -134,6 +140,7 @@ namespace // if no integer can be read at the // indicated position, return // (-1,-1) + inline std::pair get_integer (const std::string &name, const unsigned int position) @@ -186,6 +193,7 @@ namespace // replaced with the numeric value // of the template argument template + inline unsigned int match_dimension (const std::string &name, const unsigned int position) { @@ -223,6 +231,8 @@ namespace } } + + template void FETools::compute_component_wise( const FiniteElement& element,