Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(0.90.4) Implement three-dimensional StokesDrift 🌊 (#3384)
* Implement 3D StokesDrift * Correction of three-dimensional Stokes drift implementation (#3392) * Update StokesDrifts.jl Adds horizontal Stokes drift gradient terms and a term due to the vertical gradient of the vertical Stokes drift component. These equations follow from the governing equation used by Oceananigans. I think I got the interpolation right but it should be checked. A test case/example is being developed * Remove unnecessary gradients * Create Spatially_varying_stokes_drift.jl * Update Spatially_varying_stokes_drift.jl Fix bug - was using old variable names * Rewrite Stokes drift functions * Improve docstring for StokesDrift * Add stokes drift validation directory * Update surface_wave_induced_flow.jl Small clarifications (the order of operations in Lines 16 vs. 17 had me confused for a minute...I'm guessing different multiplication operators have different priority relative to division in Julia?) * Fix typos in curl terms * Move example to validation * Update Spatially_varying_stokes_drift.jl * Renames for Langmuir validation * Create Langmuir_with_Stokes_y_jet.jl Adds Langmuir case with y-oriented jet * Add a unit test for StokesDrift * Add time-stepping test for StokesDrift * Add example with doctest for UniformStokesDrift * Fix a bug for parameterized 3D StokesDrift * Add Manifest and Project for StokesDrift validation * Update src/StokesDrifts.jl Co-authored-by: Navid C. Constantinou <[email protected]> * Update src/StokesDrifts.jl Co-authored-by: Navid C. Constantinou <[email protected]> * Update src/StokesDrifts.jl Co-authored-by: Navid C. Constantinou <[email protected]> * fix UniformStokesDrift doctests * fix minor inconsistency in example * add units in docstring example * Adds a show method for UniformStokesDrift, plus doctest * Remove units * addzero -> zerofunction * uˢ₀ -> uˢ * add show method for StokesDrift * add method summary(::StokesDrift{Nothing}) * rename module StokesDrift -> StokesDrifts * Bump to 0.90.4 * add StokesDrift example in docstring * add StokesDrift example in docstring * fix StokesDrift example * more realistic wavelength in example * better explanation for StokesDrift example * bit better explanation for StokesDrift example * fix algebra mistakes --------- Co-authored-by: Brodie Pearson <[email protected]> Co-authored-by: Navid C. Constantinou <[email protected]>
- Loading branch information
1c2a6f8
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
1c2a6f8
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/98895
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
To add them here just re-invoke and the PR will be updated.
Tagging
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 the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: