Gregory L. Wagner

Results 2223 comments of Gregory L. Wagner

The docstring for `@index` suggests they do support Cartesian indices --- but maybe I am reading it wrong? ```julia julia> using KernelAbstractions help?> @index @index The @index macro can be...

We should also decide whether to automatically convert particle arrays to `CuArray` for GPU architectures. I think probably yes.

Maybe we can use `Term.jl` to implement a default / convenience log utility for simulations

@christophernhill maybe a state checker utility could use `Term.jl`?

Go for it! If you want to discuss an idea before writing code, let's discuss here. Here's my thoughts: 1. We can add a color to an important `show` method...

Started a discussion for that: https://github.com/CliMA/Oceananigans.jl/discussions/2384

> Hmmm, no we do not have that but we have the `inactive_cell`, `inactive_node` and `peripheral_node` functions, which kind of do that. (would be half if `peripheral_node` and zero if...

> To be in line with https://github.com/xgcm/xgcm/issues/306#issuecomment-776124591 the output in the above case (considering only the "wet" or interior or fluid-filled cells when calculating Δz) should be ```julia julia> grid.Δzᵃᵃᶠ[1:grid.Nz+1]...

More generally though, we do need to design a function-based user interface for extracting grid metrics from any grid. This does not exist and it's not sustainable to access grid...