]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Minor fixes, which correct problems with the Mac OSX linker.
authoroliver <oliver@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 21 Sep 2005 16:12:18 +0000 (16:12 +0000)
committeroliver <oliver@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 21 Sep 2005 16:12:18 +0000 (16:12 +0000)
git-svn-id: https://svn.dealii.org/trunk@11490 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_dgp_monomial.cc
deal.II/deal.II/source/numerics/vectors.cc
deal.II/lac/include/lac/lapack_support.h

index 36746d0a8e5f01ca80919f2ba086009e95603b18..ee9c22299c130e520c2d92ce1a269302c6c5989e 100644 (file)
@@ -67,6 +67,7 @@ namespace
   void generate_unit_points (const unsigned int,
                             std::vector<Point<dim> > &);
 
+#if deal_II_dimension == 1
   template <>
   void generate_unit_points (const unsigned int k,
                             std::vector<Point<1> > &p)
@@ -76,8 +77,9 @@ namespace
     for (unsigned int i=0; i<p.size(); ++i)
       p[i](0)=i*h;
   }
+#endif
   
-  
+#if deal_II_dimension == 2
   template <>
   void generate_unit_points (const unsigned int k,
                             std::vector<Point<2> > &p)
@@ -90,7 +92,9 @@ namespace
        p[i](1)=points2d[start_index2d[k]+i][1];
       }
   }
+#endif
   
+#if deal_II_dimension == 3
   template <>
   void generate_unit_points (const unsigned int k,
                             std::vector<Point<3> > &p)
@@ -104,6 +108,7 @@ namespace
        p[i](2)=points3d[start_index3d[k]+i][2];
       }
   }
+#endif
 }
 
 
index 3dbc4d177932c1a6e72afd33b9948825808ae734..c25045dfc4b49431af7335a6762109bad2914a66 100644 (file)
@@ -105,6 +105,14 @@ void VectorTools::project_boundary_values<deal_II_dimension>
 // the following two functions are not derived from a template in 1d
 // and thus need no explicit instantiation
 #if deal_II_dimension > 1
+template
+void VectorTools::interpolate_boundary_values<deal_II_dimension>
+(const Mapping<deal_II_dimension>    &,
+ const DoFHandler<deal_II_dimension> &,
+ const FunctionMap<deal_II_dimension>::type &,
+ std::map<unsigned int,double>       &,
+ const std::vector<bool>    &);
+
 template
 void VectorTools::interpolate_boundary_values<deal_II_dimension>
 (const Mapping<deal_II_dimension>    &,
index 8105cf3e027684ef6ed7c49b85147e3b9dab9ddf..6b4455781bb5ee25e005cdcd78243da4c0654fcc 100644 (file)
@@ -59,23 +59,23 @@ namespace LAPACKSupport
                                   /**
                                    * Character constant.
                                    */
-  extern const char V = 'V';
+  static const char V = 'V';
                                   /**
                                    * Character constant.
                                    */
-  extern const char T = 'T';
+  static const char T = 'T';
                                   /**
                                    * Character constant.
                                    */
-  extern const char N = 'N';
+  static const char N = 'N';
                                   /**
                                    * Integer constant.
                                    */
-  extern const int zero = 0;
+  static const int zero = 0;
                                   /**
                                    * Integer constant.
                                    */
-  extern const int one = 1;
+  static const int one = 1;
 }
 
 

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.