Skip to content

Commit

Permalink
update KGO files and slacken tolerance for checkpointing test
Browse files Browse the repository at this point in the history
  • Loading branch information
tommbendall committed Nov 22, 2023
1 parent 2075702 commit cc1d81f
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 1 deletion.
Binary file modified integration-tests/data/dry_compressible_chkpt.h5
Binary file not shown.
Binary file modified integration-tests/data/linear_sw_wave_chkpt.h5
Binary file not shown.
Binary file modified integration-tests/data/moist_compressible_chkpt.h5
Binary file not shown.
2 changes: 1 addition & 1 deletion integration-tests/model/test_checkpointing.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def test_checkpointing(tmpdir, stepper_type, checkpoint_method):
for field_name in ['rho', 'theta', 'u']:
diff_array = stepper_2.fields(field_name).dat.data - stepper_3.fields(field_name).dat.data
error = np.linalg.norm(diff_array) / np.linalg.norm(stepper_2.fields(field_name).dat.data)
assert error < 5e-16, \
assert error < 5e-15, \
f'Checkpointed and picked up field {field_name} is not equal'

# ------------------------------------------------------------------------ #
Expand Down

0 comments on commit cc1d81f

Please sign in to comment.