]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Simplify test.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 15 Dec 2011 23:23:09 +0000 (23:23 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 15 Dec 2011 23:23:09 +0000 (23:23 +0000)
git-svn-id: https://svn.dealii.org/trunk@24832 0785d39b-7218-0410-832d-ea1e28bc413d

tests/hp/fe_nothing_17.cc

index 215853a62720439d4d273c1fd909974c454ce0b0..8b24645d2c11e30ee9374368edd5faa264bf004b 100644 (file)
 #include <vector>
 
 
-template<int dim>
-class MyFunction : public Function<dim>
-{
-  public:
-    MyFunction () : Function<dim>(2) {};
-
-    virtual double value (const Point<dim>   &p,
-                         const unsigned int) const
-      {        double f=sin(p[0]*4);
-       if (dim>1)
-         f*=cos(p[1]*4);
-       if (dim>2)
-         f*=exp(p[2]*4);
-       return f;
-      };
-};
-
-
 template <int dim>
 void transfer(std::ostream &out)
 {
-  MyFunction<dim> function;
   Triangulation<dim> tria;
   GridGenerator::hyper_cube(tria);
   tria.refine_global(5-dim);

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.