diff --git a/Examples/Physics_applications/capacitive_discharge/analysis_2d.py b/Examples/Physics_applications/capacitive_discharge/analysis_2d.py index f52f69f4bf4..e9e053cb6a4 100755 --- a/Examples/Physics_applications/capacitive_discharge/analysis_2d.py +++ b/Examples/Physics_applications/capacitive_discharge/analysis_2d.py @@ -7,6 +7,7 @@ # solver that directly solves the Poisson equation using matrix inversion # rather than the iterative approach from the MLMG solver. +import os import sys sys.path.append("../../../../warpx/Regression/Checksum/") @@ -14,5 +15,8 @@ import checksumAPI my_check = checksumAPI.evaluate_checksum( - "test_2d_background_mcc", "diags/diag1000050", do_particles=True, rtol=5e-3 + test_name=os.path.split(os.getcwd())[1], + output_file=sys.argv[1], + rtol=5e-3, + do_particles=True, )