From dd6585e8c937a9b76a778eb8e5d65afdf4e559e3 Mon Sep 17 00:00:00 2001 From: wolf Date: Mon, 22 Feb 1999 09:53:51 +0000 Subject: [PATCH] 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 --- deal.II/doc/tutorial/chapter-3.laplace/code/func.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } -- 2.39.5