Skip to content

Commit

Permalink
Shorten (maybe) NSE split tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rckirby committed Feb 27, 2024
1 parent fb8e2b0 commit f952db8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/test_split.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,8 @@ def Ffull(z, test):
num_its_initial=10,
num_its_per_step=4)

Tf = 1.0
while (float(t) < Tf):
if (float(t) + float(dt) > Tf):
dt.assign(Tf - float(t))
nsteps = 6
for _ in range(nsteps):
imp_stepper.advance()
imex_stepper.advance()
t.assign(float(t) + float(dt))
Expand Down

0 comments on commit f952db8

Please sign in to comment.