]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Work around a problem in icc with static linking
authordeal <deal@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 17 Sep 2003 23:08:39 +0000 (23:08 +0000)
committerdeal <deal@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 17 Sep 2003 23:08:39 +0000 (23:08 +0000)
git-svn-id: https://svn.dealii.org/trunk@7984 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_q.cc

index 30090b963a00e991add0884371de0c553518630e..e7a249235bf9a7628cc9839bfc6876e1f1549448 100644 (file)
@@ -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,

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.