Skip to content

Commit

Permalink
fix the constant for the periodic examples in static problems
Browse files Browse the repository at this point in the history
  • Loading branch information
phtournier committed Jun 12, 2024
1 parent a762353 commit c8d9ef2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/models/static-problems.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)(
Expand Down Expand Up @@ -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)(
Expand Down

0 comments on commit c8d9ef2

Please sign in to comment.