]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Choose a better suited boundary function (the old one was zero everywhere except...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 22 Feb 1999 09:53:51 +0000 (09:53 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 22 Feb 1999 09:53:51 +0000 (09:53 +0000)
git-svn-id: https://svn.dealii.org/trunk@865 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/tutorial/chapter-3.laplace/code/func.cc

index b76e900ec134bcc57a726561e15c1f742d78d1ae..1234028a3afd352fffc5eeabc2922ffcdfb77d7f 100644 (file)
@@ -20,5 +20,5 @@ WeightFunction::operator() (const Point<2>& p) const
 double 
 BoundaryFct::operator ()(const Point<2> &p) const
 { 
-  return sin(4*M_PI*p(0))*sin(4*M_PI*p(1));
+  return cos(2*M_PI*p(0))*cos(2*M_PI*p(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.