Skip to content

Commit

Permalink
increase min iterations to 10
Browse files Browse the repository at this point in the history
  • Loading branch information
jcosborn committed Jan 29, 2025
1 parent 785dff2 commit edf3289
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/bench/benchStagProp.nim
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ threads:
var sp = initSolverParams()
sp.maxits = 10
s.solve(v2, v1, mass, sp)
sp.maxits = comm.broadcast int(1.0+(0.1*sp.iterations*maxtime)/sp.seconds)
sp.maxits = comm.broadcast int(10.0+(0.1*sp.iterations*maxtime)/sp.seconds)
#echo "maxits: ", sp.maxits
sp.resetStats
s.solve(v2, v1, mass, sp)
sp.maxits = comm.broadcast int(1.0+(sp.iterations*maxtime)/sp.seconds)
sp.maxits = comm.broadcast int(10.0+(sp.iterations*maxtime)/sp.seconds)
#echo "maxits: ", sp.maxits
sp.resetStats
resetTimers()
Expand Down Expand Up @@ -94,11 +94,11 @@ var s3 = newStag3(g3)
sp.resetStats
sp.maxits = 10
s3.solve(v2, v1, mass, sp)
sp.maxits = comm.broadcast int(1.0+(0.1*sp.iterations*maxtime)/sp.seconds)
sp.maxits = comm.broadcast int(10.0+(0.1*sp.iterations*maxtime)/sp.seconds)
#echo "maxits: ", sp.maxits
sp.resetStats
s3.solve(v2, v1, mass, sp)
sp.maxits = comm.broadcast int(1.0+(sp.iterations*maxtime)/sp.seconds)
sp.maxits = comm.broadcast int(10.0+(sp.iterations*maxtime)/sp.seconds)
#echo "maxits: ", sp.maxits
sp.resetStats
resetTimers()
Expand Down

0 comments on commit edf3289

Please sign in to comment.