Skip to content

Commit

Permalink
Add note on connectivity matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnectedSystems committed Jan 29, 2024
1 parent 3bf683b commit 0eaa038
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ecosystem/corals/growth.jl
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,8 @@ function settler_cover(
valid_sinks::BitVector = vec(sum(conn, dims=1) .> 0.0)

# Send larvae out into the world (reuse potential_settlers to reduce allocations)
# Note, conn rows need not sum to 1.0 as this missing probability accounts for larvae
# which do not settle. Pers comm with C. Ani (2023-01-29 13:24 AEST).
# [Larval pool for each location in larvae/m²] * [survival rate]
# this is known as in-water mortality.
# Set to 0.0 as it is now taken care of by connectivity data.
Expand Down

0 comments on commit 0eaa038

Please sign in to comment.