Skip to content

Commit

Permalink
fix(PrtFmiType): accommodate 0s in nodelist
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli committed Nov 2, 2024
1 parent 3be3c39 commit e31e643
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Model/ParticleTracking/prt-fmi.f90
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ subroutine accumulate_flows(this)
end if
do ib = 1, this%gwfpackages(ip)%nbound
i = this%gwfpackages(ip)%nodelist(ib)
if (i <= 0) cycle
if (this%ibound(i) <= 0) cycle
qbnd = this%gwfpackages(ip)%get_flow(ib)
! todo, after initial release: default iflowface values for different packages
Expand Down

0 comments on commit e31e643

Please sign in to comment.