From: deal Date: Wed, 17 Sep 2003 23:08:39 +0000 (+0000) Subject: Work around a problem in icc with static linking X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=184feffdd4edaad9f4271d93b0fbe8e3fa73b020;p=dealii-svn.git Work around a problem in icc with static linking git-svn-id: https://svn.dealii.org/trunk@7984 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/fe/fe_q.cc b/deal.II/deal.II/source/fe/fe_q.cc index 30090b963a..e7a249235b 100644 --- a/deal.II/deal.II/source/fe/fe_q.cc +++ b/deal.II/deal.II/source/fe/fe_q.cc @@ -59,6 +59,9 @@ namespace // given an integer N, compute its // integer square root (if it // exists, otherwise give up) +#ifdef DEAL_II_ANON_NAMESPACE_BUG + static +#endif unsigned int int_sqrt (const unsigned int N) { for (unsigned int i=0; i<=N; ++i) @@ -72,6 +75,9 @@ namespace // given an integer N, compute its // integer cube root (if it // exists, otherwise give up) +#ifdef DEAL_II_ANON_NAMESPACE_BUG + static +#endif unsigned int int_cuberoot (const unsigned int N) { for (unsigned int i=0; i<=N; ++i) @@ -85,6 +91,9 @@ namespace // given N, generate i=0...N-1 // equidistant points in the // interior of the interval [0,1] +#ifdef DEAL_II_ANON_NAMESPACE_BUG + static +#endif Point<1> generate_unit_point (const unsigned int i, const unsigned int N, @@ -99,6 +108,9 @@ namespace // given N, generate i=0...N-1 // equidistant points in the domain // [0,1]^2 +#ifdef DEAL_II_ANON_NAMESPACE_BUG + static +#endif Point<2> generate_unit_point (const unsigned int i, const unsigned int N, @@ -119,6 +131,9 @@ namespace // given N, generate i=0...N-1 // equidistant points in the domain // [0,1]^3 +#ifdef DEAL_II_ANON_NAMESPACE_BUG + static +#endif Point<3> generate_unit_point (const unsigned int i, const unsigned int N, @@ -140,6 +155,9 @@ namespace // given N, generate i=0...N-1 // equidistant points in the // interior of the interval [0,1] +#ifdef DEAL_II_ANON_NAMESPACE_BUG + static +#endif Point<1> generate_face_unit_point (const unsigned int i, const unsigned int N, @@ -158,6 +176,9 @@ namespace // consider shape functions on // child cells that are located on // existing vertices) +#ifdef DEAL_II_ANON_NAMESPACE_BUG + static +#endif Point<2> generate_face_unit_point (const unsigned int i, const unsigned int N, @@ -202,6 +223,9 @@ namespace // specific to the computation of // the constraint matrix, is active // on the given subface +#ifdef DEAL_II_ANON_NAMESPACE_BUG + static +#endif bool constraint_function_is_active_on_child (const unsigned int j, const unsigned int subface, @@ -222,6 +246,9 @@ namespace +#ifdef DEAL_II_ANON_NAMESPACE_BUG + static +#endif bool constraint_function_is_active_on_child (const unsigned int j, const unsigned int subface, @@ -287,6 +314,9 @@ namespace // constraint numbering, compute // its index in the polynomials // space of a given subface +#ifdef DEAL_II_ANON_NAMESPACE_BUG + static +#endif unsigned int constraint_get_local_j (const unsigned int j, const unsigned int subface, @@ -303,6 +333,9 @@ namespace } +#ifdef DEAL_II_ANON_NAMESPACE_BUG + static +#endif unsigned int constraint_get_local_j (const unsigned int /*j*/, const unsigned int /*subface*/, @@ -322,6 +355,9 @@ namespace // make things simpler, also pass // the subface on which j is // located +#ifdef DEAL_II_ANON_NAMESPACE_BUG + static +#endif bool constraint_is_support_point (const unsigned int i, const unsigned int j,