Skip to content

Commit

Permalink
Update UPC_main_simulation.py
Browse files Browse the repository at this point in the history
Included OutOfBounds functionality
  • Loading branch information
ivanskigib committed Oct 3, 2023
1 parent 93f571c commit aed1cdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UPC_main_simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

Expand Down Expand Up @@ -305,4 +305,4 @@ def parse_args():
arrows_paths=args.arrows_paths,
sheets_to_load=cfg.sheets_to_load,
coords=cfg.coords
)
)

0 comments on commit aed1cdd

Please sign in to comment.