From 6a82e69cc2e50cc376bcf50897b060a6be58157e Mon Sep 17 00:00:00 2001 From: carlislewishard <70146819+carlislewishard@users.noreply.github.com> Date: Thu, 29 Jun 2023 11:11:10 -0400 Subject: [PATCH] Update errors.py adjusted energy error limit slightly to account for less energetic system --- examples/Basic_Simulation/errors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/Basic_Simulation/errors.py b/examples/Basic_Simulation/errors.py index 581677949..5cbdfaa55 100644 --- a/examples/Basic_Simulation/errors.py +++ b/examples/Basic_Simulation/errors.py @@ -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 @@ -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.") \ No newline at end of file + print("Test successful.")