]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Compiler error fixed
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 6 Mar 2000 17:23:10 +0000 (17:23 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 6 Mar 2000 17:23:10 +0000 (17:23 +0000)
git-svn-id: https://svn.dealii.org/trunk@2555 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/function_lib.cc

index b39adbecf11cdfe378cdc4e1ca0c059d1a18afbe..3fca4699dcdf814b8a874bb2c10b7d94b6ea749c 100644 (file)
@@ -401,7 +401,7 @@ LSingularityFunction::laplacian_list (const vector<Point<2> > &points,
 //TODO: Implement derivatives
 
 Tensor<1,2>
-LSingularityFunction::gradient (const Point<2>   &/*p*/,
+LSingularityFunction::gradient (const Point<2>   &p,
                               const unsigned int) const
 {
   Assert(false, ExcNotImplemented());
@@ -415,8 +415,8 @@ LSingularityFunction::gradient (const Point<2>   &/*p*/,
       return Tensor<1,2>(infty);
     }
   
-  double phi = atan2(y,-x)+M_PI;
-  double r2 = x*x+y*y;
+//  double phi = atan2(y,-x)+M_PI;
+//  double r2 = x*x+y*y;
 
   return Tensor<1,2>();
 }

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.