From: wolf Date: Mon, 22 Feb 1999 09:53:51 +0000 (+0000) Subject: Choose a better suited boundary function (the old one was zero everywhere except... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd6585e8c937a9b76a778eb8e5d65afdf4e559e3;p=dealii-svn.git Choose a better suited boundary function (the old one was zero everywhere except for round off errors). git-svn-id: https://svn.dealii.org/trunk@865 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/doc/tutorial/chapter-3.laplace/code/func.cc b/deal.II/doc/tutorial/chapter-3.laplace/code/func.cc index b76e900ec1..1234028a3a 100644 --- a/deal.II/doc/tutorial/chapter-3.laplace/code/func.cc +++ b/deal.II/doc/tutorial/chapter-3.laplace/code/func.cc @@ -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)); }