Skip to content

Commit

Permalink
changed dt to 0.8 of max_dt
Browse files Browse the repository at this point in the history
  • Loading branch information
bean-mhm committed Mar 29, 2023
1 parent b766e1c commit 32fd565
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wave2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
print(f'{max_dt = }')

# Timestep
dt = 0.9 * max_dt
dt = 0.8 * max_dt

# Stiffness
# Must be greater than or equal to 1 to function properly.
Expand Down
2 changes: 1 addition & 1 deletion wave3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
print(f'{max_dt = }')

# Timestep
dt = 0.9 * max_dt
dt = 0.8 * max_dt

# Stiffness
# Must be greater than or equal to 1 to function properly.
Expand Down

0 comments on commit 32fd565

Please sign in to comment.