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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function signatures for boundary condition functions and forcing functions have been simplified.
The model.parameters field has been nuked in favor of more local "parameters" functionality. ParameterizedForcing and ParameterizedBoundaryCondition convenience types and functions have been added
The new forcing function signature is
F(i, j, k, grid, clock, state)
while the new boundary condition function signature is
bc(i, j, grid, clock, state)
where i, j are indices along the boundary.
state is a NamedTuple with fields velocities, tracers, and diffusivities, each corresponding to an OffsetArray that references the data associated with each field.
229b35d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
Release notes:
Some breaking changes:
model.parameters
field has been nuked in favor of more local "parameters" functionality.ParameterizedForcing
andParameterizedBoundaryCondition
convenience types and functions have been addedThe new forcing function signature is
F(i, j, k, grid, clock, state)
while the new boundary condition function signature is
bc(i, j, grid, clock, state)
where
i, j
are indices along the boundary.state
is aNamedTuple
with fieldsvelocities
,tracers
, anddiffusivities
, each corresponding to anOffsetArray
that references the data associated with each field.229b35d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/10998
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via: