From c8d9ef2e1e2b1733b1c9aba80a7bf87ccf08d3f1 Mon Sep 17 00:00:00 2001 From: Pierre-Henri Tournier Date: Wed, 12 Jun 2024 15:09:06 +0200 Subject: [PATCH] fix the constant for the periodic examples in static problems --- source/models/static-problems.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/models/static-problems.rst b/source/models/static-problems.rst index 3720bf08..1f6e66f9 100644 --- a/source/models/static-problems.rst +++ b/source/models/static-problems.rst @@ -516,7 +516,8 @@ These boundary conditions are achieved from the definition of the periodic finit // Problem problem laplace (uh, vh) = int2d(Th)( - dx(uh)*dx(vh) + uh*vh*1.0e-10 // to fix the constant + + dx(uh)*dx(vh) + dy(uh)*dy(vh) ) + int2d(Th)( @@ -578,7 +579,8 @@ The following example give such example. real k = intf / mTh; problem laplace (uh, vh) = int2d(Th)( - dx(uh)*dx(vh) + uh*vh*1.0e-10 // to fix the constant + + dx(uh)*dx(vh) + dy(uh)*dy(vh) ) + int2d(Th)(