Skip to content

Commit

Permalink
Switch to constant CFL mode
Browse files Browse the repository at this point in the history
  • Loading branch information
MTCam authored Mar 14, 2022
1 parent 78ca790 commit ed17ef3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mixalot.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,10 @@ def main(ctx_factory=cl.create_some_context, use_logmgr=True,
# Time loop control parameters
current_step = 0
t_final = 2e-8
current_cfl = 1.0
current_cfl = 0.05
current_dt = 1e-9
current_t = 0
constant_cfl = False
constant_cfl = True

# i.o frequencies
nstatus = 100
Expand Down

0 comments on commit ed17ef3

Please sign in to comment.