Skip to content

Commit d9c750e

Browse files
committed
Example212: coarser grid and adjust test value
1 parent 25b5386 commit d9c750e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/Example212_PeriodicElasticity2D.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ function main(;
119119
use_LM_restrictions = true,
120120
Plotter = nothing,
121121
force = 10.0,
122-
h = 1.0e-2,
122+
h = 5.0e-2,
123123
width = 6.0,
124124
height = 1.0,
125125
threads = 1,
@@ -187,7 +187,7 @@ generateplots = ExtendableFEM.default_generateplots(Example212_PeriodicElasticit
187187
function runtests() #hide
188188
sol1, _ = main(use_LM_restrictions = false, threads = 1)
189189
@show abs(maximum(view(sol1[1]))) #hide
190-
@test abs(maximum(view(sol1[1])) - 1.3447465095618172) < 1.0e-3 #hide
190+
@test abs(maximum(view(sol1[1])) - 1.2638113215466982) < 1.0e-3 #hide
191191

192192
sol2, _ = main(use_LM_restrictions = false, threads = 4) #hide
193193
@test sol1.entries sol2.entries #hide

0 commit comments

Comments
 (0)