You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using Oceananigans
using GLMakie
Nx = Ny = Nz =128
Nz =16
grid =TripolarGrid(size=(Nx, Ny, Nz), z=(0, 1))
c =CenterField(grid)
cᵢ(λ, φ, z) =exp(-(λ^2+ φ^2) /200)
set!(c, cᵢ)
heatmap(interior(c, :, :, 1))
produces
I'm not entirely sure what the solution is. The problem is that one has to know that domain the function is defined on / what direction we should apply periodicity.
The text was updated successfully, but these errors were encountered:
Consider
produces
I'm not entirely sure what the solution is. The problem is that one has to know that domain the function is defined on / what direction we should apply periodicity.
The text was updated successfully, but these errors were encountered: