🌊 Julia software for fast, friendly, flexible, ocean-flavored fluid dynamics on CPUs and GPUs
Merged pull requests:
adapt_structure
for stokes drift (#3441) (@jagoosw)Closed issues:
StokesDrift
docstring example may be misleading (#3422)KernelFunctionOperation
on the GPU (#3438)Added three-dimensional implementation of Stokes drift.
Merged pull requests:
@apply_regionally
(#3387) (@navidcy)Callback
s (#3405) (@glwagner)@inbounds
(#3417) (@navidcy)@inbounds
to ab2_step_Gu,v
(#3421) (@navidcy)Closed issues:
compute_regionally
must be deprecated (#3386)Merged pull requests:
Relaxation
to work with grids with Flat
dimensions (#3383) (@jagoosw)Closed issues:
Merged pull requests:
Distributed
architectures (#3339) (@simone-silvestri)LatitudeLongitudeGrid
(#3375) (@navidcy)Closed issues:
SplitExplicitFreeSurface
(#3335)This version introduces a major change (https://github.com/CliMA/Oceananigans.jl/pull/3355) to the API for initial conditions, background fields, and boundary conditions based on functions on grids with Flat
directions. When using functions, we previously would supply all three coordinates (eg f(x, y, z)
regardless of whether the function was being used on a grid with a Flat
direction. But now, the coordinates associated with Flat
directions are omitted. For example, if y
is Flat
, then initial conditions are set with functions of f(x, z)
.
One more example. Before this release, one might write
grid = RectilinearGrid(size=64, z=(0, 1), topology=(Flat, Flat, Bounded))
c = CenterField(grid)
random_numbers(x, y, z) = rand()
set!(c, random_numbers)
After this release, this code has to change because the x, y directions are Flat. Thus after this release we write
grid = RectilinearGrid(size=64, z=(0, 1), topology=(Flat, Flat, Bounded))
c = CenterField(grid)
random_numbers(z) = rand()
set!(c, random_numbers)
As a rule, coordinates within functions should never be provided for Flat directions or for Nothing locations.
Merged pull requests:
WENOVectorInvariant
+ some cleanup (#3341) (@glwagner)FieldSlicer
-> indices
(#3350) (@xkykai)node
(#3355) (@glwagner)OffsetNDRange
vs NDRange
(#3359) (@simone-silvestri)Closed issues:
node
should omit nodes from Flat
dimensions (#3285)FieldSlicer
to indices
(#3348)Merged pull requests:
SeawaterDensity
to Oceananigans.Models
(#3329) (@jbisits)SeawaterBuoyancy
(#3334) (@glwagner)Closed issues:
Merged pull requests:
Face
-> Center
interpolation explanation in Operators/README.md
(#3321) (@jbisits)Closed issues:
Face
-> Center
interpolation operator in Operators/README.md
(#3315)