]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make work with gcc-4.6.
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Mon, 28 Mar 2011 09:24:26 +0000 (09:24 +0000)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Mon, 28 Mar 2011 09:24:26 +0000 (09:24 +0000)
git-svn-id: https://svn.dealii.org/trunk@23541 0785d39b-7218-0410-832d-ea1e28bc413d

tests/bits/point_difference_01.cc
tests/bits/point_difference_02.cc
tests/bits/point_value_01.cc
tests/bits/point_value_02.cc

index 7f4baf5189c903b81fd4956d17d0617435b3a5bb..56e4b87a8d81a3cb934c0cf5626e3d327e841647 100644 (file)
@@ -38,6 +38,8 @@ template<int dim>
 class MySquareFunction : public Function<dim>
 {
   public:
+    MySquareFunction () : Function<dim> () {}
+
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component) const
       {        return (component+1)*p.square()+1; }
@@ -52,6 +54,8 @@ template<int dim>
 class MyExpFunction : public Function<dim>
 {
   public:
+    MyExpFunction () : Function<dim> () {}
+
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component) const
       {        return std::exp (p(0)); }
index eea95d8b84005171cc68c5f164c812ab1f9d58ac..ef214c4fd8d1b76c0fc48f88a21f9e7119793e53 100644 (file)
@@ -42,6 +42,8 @@ template<int dim>
 class MySquareFunction : public Function<dim>
 {
   public:
+    MySquareFunction () : Function<dim> () {}
+
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component) const
       {        return (component+1)*p.square()+1; }
@@ -56,6 +58,8 @@ template<int dim>
 class MyExpFunction : public Function<dim>
 {
   public:
+    MyExpFunction () : Function<dim> () {}
+
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component) const
       {        return std::exp (p(0)); }
index b5edd95cffde0930152ca3061f32f6af88167c06..4e511393215e33dce576a12ae5c3ca2e92bdce04 100644 (file)
@@ -37,6 +37,8 @@ template<int dim>
 class MySquareFunction : public Function<dim>
 {
   public:
+    MySquareFunction () : Function<dim> () {}
+
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component) const
       {        return (component+1)*p.square()+1; }
@@ -51,6 +53,8 @@ template<int dim>
 class MyExpFunction : public Function<dim>
 {
   public:
+    MyExpFunction () : Function<dim> () {}
+
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component) const
       {        return std::exp (p(0)); }
index 04e3f7396841c9636790e1bb6bb0c4ed690ecd95..318265ae899ad67f3eec2b91b67166502b34ba3b 100644 (file)
@@ -38,6 +38,8 @@ template<int dim>
 class MySquareFunction : public Function<dim>
 {
   public:
+    MySquareFunction () : Function<dim> () {}
+
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component) const
       {        return (component+1)*p.square()+1; }
@@ -52,6 +54,8 @@ template<int dim>
 class MyExpFunction : public Function<dim>
 {
   public:
+    MyExpFunction () : Function<dim> () {}
+
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component) const
       {        return std::exp (p(0)); }

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.