diff --git a/UPC_main_simulation.py b/UPC_main_simulation.py index 6893d0d..53a4120 100644 --- a/UPC_main_simulation.py +++ b/UPC_main_simulation.py @@ -187,7 +187,7 @@ class PlasticParticle(JITParticle): runtime=timedelta(days=sim_duration), dt=timedelta(minutes=sim_dt), output_file=output_file, - recovery={ErrorCode.ErrorOutOfBounds: lib.DeleteParticleFunction}, + recovery={ErrorCode.ErrorOutOfBounds: lib.OutOfBounds}, verbose_progress=True ) @@ -305,4 +305,4 @@ def parse_args(): arrows_paths=args.arrows_paths, sheets_to_load=cfg.sheets_to_load, coords=cfg.coords - ) \ No newline at end of file + )