Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Update errors.py
Browse files Browse the repository at this point in the history
adjusted energy error limit slightly to account for less energetic system
  • Loading branch information
carlislewishard authored and GitHub committed Jun 29, 2023
1 parent 6181c88 commit 6a82e69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/Basic_Simulation/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

# Determine if the errors are within bounds
L_limit = 1e-10
E_limit = 1e-4
E_limit = 1e-5
GM_limit = 1e-14

lerror = 0
Expand All @@ -66,4 +66,4 @@
lerror = 1
print("Mass Error of", GM_final, " higher than threshold value of", GM_limit, ". Test failed.")
if (lerror == 0):
print("Test successful.")
print("Test successful.")

0 comments on commit 6a82e69

Please sign in to comment.