Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ v0.14.51
-------

- Add support for nonuniform data structures [2464](https://github.com/CliMA/ClimaCore.jl/pull/2464)
- Add shared memory stencil support in CUDAExt (for spaces with non-periodic topologies and no masks) [2466](https://github.com/CliMA/ClimaCore.jl/pull/2466/commits)
- Add shared memory stencil support in CUDAExt (for spaces with non-periodic topologies and no masks) [2466](https://github.com/CliMA/ClimaCore.jl/pull/2466)

v0.14.50
-------
Expand Down
7 changes: 5 additions & 2 deletions docs/tutorials/introduction.jl
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,13 @@ plot(map(x -> x.w, ClimaCore.Geometry.WVector.(∇cosz)), ylim = (0, 10))

sinz = sin.(column_center_coords.z)
gradc2f = ClimaCore.Operators.GradientC2F()
## ∇sinz = gradc2f.(sinz) ## this would throw an error
# this throws an error when julia is launched with --check-bounds=yes
# if ran with nomrally (auto bounds checking), behavior at the boundary is undefined
# (i.e. it will read some random memory outside the array)
# ∇sinz = gradc2f.(sinz) ## undefined behavior at boundary
#----------------------------------------------------------------------------

# This throws an error because face values at the boundary are _not_ well-defined:
# This throws an error when bounds checking is enabled because face values at the boundary are _not_ well-defined:
#
# ```
# ...
Expand Down
Loading