Skip to content

Commit c8d9ef2

Browse files
committed
fix the constant for the periodic examples in static problems
1 parent a762353 commit c8d9ef2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

source/models/static-problems.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,8 @@ These boundary conditions are achieved from the definition of the periodic finit
516516
// Problem
517517
problem laplace (uh, vh)
518518
= int2d(Th)(
519-
dx(uh)*dx(vh)
519+
uh*vh*1.0e-10 // to fix the constant
520+
+ dx(uh)*dx(vh)
520521
+ dy(uh)*dy(vh)
521522
)
522523
+ int2d(Th)(
@@ -578,7 +579,8 @@ The following example give such example.
578579
real k = intf / mTh;
579580
problem laplace (uh, vh)
580581
= int2d(Th)(
581-
dx(uh)*dx(vh)
582+
uh*vh*1.0e-10 // to fix the constant
583+
+ dx(uh)*dx(vh)
582584
+ dy(uh)*dy(vh)
583585
)
584586
+ int2d(Th)(

0 commit comments

Comments
 (0)