Skip to content

Commit

Permalink
More updates on particle behavior option
Browse files Browse the repository at this point in the history
  • Loading branch information
josephzhang8 committed Oct 28, 2024
1 parent d6cbabb commit c421d36
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/Utility/Particle_Tracking/particle.bp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Input for ptrack*
0 ibiofoul (0: no biofouling; 1: with biofouling)
1 ibf
0 istiff
0 ibnd_beh (behavior near bnd or wet/dry; 0: reflect off; 1: slide)
1 -122.6 37.38 ics slam0 sfea0
0.01 140. 120. 30 720 40 !h0,rnday,dtm,nspool,ihfskip,ndeltp
2 !# of particles
Expand Down
3 changes: 2 additions & 1 deletion src/Utility/Particle_Tracking/ptrack3.f90
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
! Assume the quads are not split in the nc outputs.
!
! Behavior when particles hit horizontal bnd or dry interface:
! reflect off like LTRAN
! reflect off like LTRAN or slide
!
! Inputs:
! a) hgrid.ll (if ics=2 in particle.bp) or hgrid.gr3 (if ics=1 in
Expand All @@ -41,6 +41,7 @@
! (3) mod_part: model #. 0-passive; 1: oil spill (Dr. Jung)
! (4) ibf: forward (=1) or backward (=-1) tracking.
! (5) istiff: stiff (fixed distance frm f.s.; 1) or not (0).
! (6) ibnd_beh: reflect off (0) or slide (1)
! (6) ics,slam0,sfea0: coordinate system and center for CPP projection
! (same as in param.in). If ics=2, inputs/outputs are in
! lon/lat;
Expand Down
3 changes: 2 additions & 1 deletion src/Utility/Particle_Tracking/ptrack4.f90
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
! Assume the quads are not split in the nc outputs.
!
! Behavior when particles hit horizontal bnd or dry interface:
! reflect off like LTRAN
! reflect off like LTRAN or slide
!
! Inputs:
! a) hgrid.ll (if ics=2 in particle.bp) or hgrid.gr3 (if ics=1 in
Expand All @@ -41,6 +41,7 @@
! (3) mod_part: model #. 0-passive; 1: oil spill (Dr. Jung)
! (4) ibf: forward (=1) or backward (=-1) tracking.
! (5) istiff: stiff (fixed distance frm f.s.; 1) or not (0).
! (6) ibnd_beh: reflect off (0) or slide (1)
! (6) ics,slam0,sfea0: coordinate system and center for CPP projection
! (same as in param.in). If ics=2, inputs/outputs are in
! lon/lat;
Expand Down

0 comments on commit c421d36

Please sign in to comment.