From 631ac5e7d2ef29a7efaee96204feb76699dbb19c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carsten=20Gr=C3=A4ser?= <graeser@mi.fu-berlin.de> Date: Wed, 21 Jun 2017 13:59:26 +0200 Subject: [PATCH] Adjust rhs --- src/05-poisson-problem.cc | 2 +- src/06-interpolation.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/05-poisson-problem.cc b/src/05-poisson-problem.cc index d90f14d..9bb4eeb 100644 --- a/src/05-poisson-problem.cc +++ b/src/05-poisson-problem.cc @@ -96,7 +96,7 @@ int main(int argc, char** argv) auto rhsFunction = [](auto x) { - return x.two_norm() < .5; + return (x.two_norm() < .5)*10.0; }; assemblePoissonProblemPQ1(gridView, A, rhs, rhsFunction); diff --git a/src/06-interpolation.cc b/src/06-interpolation.cc index 8af6845..9ca3afb 100644 --- a/src/06-interpolation.cc +++ b/src/06-interpolation.cc @@ -144,7 +144,7 @@ int main(int argc, char** argv) auto rhsFunction = [](auto x) { - return (x.two_norm() < .5)*100.0; + return (x.two_norm() < .5)*10.0; }; assemblePoissonProblemPQ1(gridView, A, rhs, rhsFunction); -- GitLab