-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Major refactor of
FieldBoundaryConditions
(#1843)
* Reworking FieldBoundaryConditions * Refactors FieldBoundaryConditions * Fixes many tests * More test fixes * Update docs/src/model_setup/boundary_conditions.md Co-authored-by: Navid C. Constantinou <[email protected]> * Nuke AuxiliaryFieldBoundaryConditions; just use special FieldBoundaryConditions * No more x, y, z, right, left... * Banish DiffusivityBoundaryConditions * Banish CoordinateBoundaryConditions * Fixes boundary condition test with ContinuousBoundaryFunction * Adds better default bcs for VelocityFields and TracerFields * New syntax! * Iterate better over boundary conditions * Fixes bug in field_boundary_conditions * Fix TracerFields implementation * Were not ready for zero flux boundary conditions... * Fixes bottom-top mix up * Fixes broken ref to Nx in Poisson solver test * Default for ZFaceField was changed so now broadcasting tests need to be changed too * Fix regularize_boundary_condition for CubedSpheres * West vs east * Fix issues with TKEBasedVerticalDiffusivity * Fiddling with AMD boundary conditions * Adds regularize_boundary_conditions for regular bcs on ConformalCubedSphereGrid * Fixes bug in determining tracer diffusivity bcs with AMD * Adds location to FieldBoundaryConditions for broadcasting test * Properly inject CubedSphere exchange bcs during regularization * Adds a method for nested NamedTuple boundary conditions * Fixes VelocityFields constructor to use valid regularized boundary conditions * Updates to new syntax for stratified couette flow * Elide tendency fields when velocities are prescribed * Import regularize_boundary_conditions into field_tuples * Try 2 with poisson solver test refactor * Simplifies default calculation * Fixes ommission of tracer tendencies when using prescribed velocities * Import regularize_field_boundary_conditions into poisson solver tests * Eta is prognostic, not w * Adds missing comma in show methods * Fix doctests * Fix doctests * Fix doctests * Fix docstring in Field constructor * Use FluxBoundaryCondition * Where bc? * Ancient issues with library.md * Comments out library to see what happens * Deletes misleading and impertinent comments * Bump to 0.59.0 * Comments out appendix in docs * Cleans up BoundaryConditions code + docstrings * Docs despration * update BoundaryConditions pages * can't document call syntax; see JuliaDocs/Documenter.jl#228 * back to including everything * improves some docstrings * Updates validation experiments * Fixes typos in TKEBasedVerticalMixing validation Co-authored-by: Navid C. Constantinou <[email protected]>
- Loading branch information
Showing
67 changed files
with
924 additions
and
1,054 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
6e39d3f
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:
FieldBoundaryConditions()
. Boundary conditions for auxiliary / non-prognostic fields still require the grid and location viaFieldBoundaryConditions(grid, location)
.6e39d3f
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/40934
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: