Skip to content

Commit

Permalink
updating collisionZ analysis.
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinRayAngus committed Aug 16, 2024
1 parent 46e9617 commit b6be1f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Examples/Tests/collision/analysis_collision_1d.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
import checksumAPI

# this will be the name of the plot file
fn = sys.argv[1]
ds = yt.load(fn)
last_fn = sys.argv[1]
ds = yt.load(last_fn)
data = ds.covering_grid(level = 0, left_edge = ds.domain_left_edge, dims = ds.domain_dimensions)

# carbon 12 ion (mass = 12*amu - 6*me)
Expand Down Expand Up @@ -123,4 +123,4 @@
assert error < tolerance

test_name = os.path.split(os.getcwd())[1]
checksumAPI.evaluate_checksum(test_name, fn, rtol=2.5e-3)
checksumAPI.evaluate_checksum(test_name, last_fn)

0 comments on commit b6be1f5

Please sign in to comment.