We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
znode
znodes
OceanBioME.jl/src/Light/2band.jl
Lines 16 to 29 in 888a107
Here, I think it'd be much more efficient if instead of, e.g.,
zᶜ = znodes(grid, Center(), Center(), Center()) zᶜ[k + 1]
using Oceananigans.Grids: znode znode(i, j, k+1, grid, Center(), Center(), Center())
The former create a whole array and selects a value from it. The latter just gets the value needed from the grid.
grid
The text was updated successfully, but these errors were encountered:
Actually this might not be an issue. But definitely some bounds checking are missing here.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
OceanBioME.jl/src/Light/2band.jl
Lines 16 to 29 in 888a107
Here, I think it'd be much more efficient if instead of, e.g.,
The former create a whole array and selects a value from it. The latter just gets the value needed from the
grid
.The text was updated successfully, but these errors were encountered: