-
Notifications
You must be signed in to change notification settings - Fork 250
Reformulate hydrostatic model timestepping #4811
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
simone-silvestri
wants to merge
519
commits into
main
Choose a base branch
from
ss/reformulate-hydrostatic-model-2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
519 commits
Select commit
Hold shift + click to select a range
00cf837
Merge branch 'main' into ss/optimize-weno
simone-silvestri bd39907
back on some stuff
simone-silvestri c7bc307
ok let's go!
simone-silvestri 766edaf
ok this is working
simone-silvestri 18b97c8
use this one
simone-silvestri b140cbc
cmon almost there
simone-silvestri 6cc2e77
remove the matrix solver first
simone-silvestri 40f5748
Merge remote-tracking branch 'origin/main' into ss/remove-matrix-solver
simone-silvestri 063da11
Merge branch 'main' into ss/remove-matrix-solver
simone-silvestri 66507e3
remove more stuff
simone-silvestri bd94021
Merge branch 'ss/remove-matrix-solver' of github.com:CliMA/Oceananiga…
simone-silvestri a283c75
upload
simone-silvestri 767e63a
restore targets
simone-silvestri 9b75574
Merge remote-tracking branch 'origin/ss/remove-matrix-solver' into ss…
simone-silvestri c0dc82c
try if this works
simone-silvestri 0d4075e
remove the show
simone-silvestri b47de18
fix double definition
simone-silvestri 7ad870c
save one line
simone-silvestri 4665ee4
pass nothing
simone-silvestri 7758430
pass this
simone-silvestri 3c12819
Merge branch 'main' into ss/optimize-weno
simone-silvestri 6e6a17b
fix all tests
simone-silvestri 49c6a0c
remove the shows
simone-silvestri 5e54a02
remove `map`
simone-silvestri 2d55080
Merge branch 'main' into ss/optimize-weno
simone-silvestri 48842d0
Merge branch 'main' into ss/optimize-weno
simone-silvestri 1a1ab47
add a forcing
simone-silvestri fa9d3a4
Merge branch 'main' into ss/optimize-weno
simone-silvestri ae4fe89
Merge branch 'main' into ss/optimize-weno
simone-silvestri c90859d
Merge branch 'main' into ss/optimize-weno
simone-silvestri b59a993
Merge branch 'main' into ss/optimize-weno
simone-silvestri b3175de
Merge remote-tracking branch 'origin/main' into ss/reformulate-hydros…
simone-silvestri 713ae0d
chnage
simone-silvestri 6185f76
fix double include
simone-silvestri 1205129
fix the output synchronization
simone-silvestri a2ede5c
Merge branch 'main' into ss/optimize-weno
simone-silvestri eebff7b
Merge branch 'main' into ss/reformulate-hydrostatic-model-2
simone-silvestri a11e985
new RK3 formulation
simone-silvestri 1060ed3
Merge branch 'ss/reformulate-hydrostatic-model-2' of github.com:CliMA…
simone-silvestri 54889fb
3-stages
simone-silvestri f239d42
some more changes
simone-silvestri 88fd0aa
add this to the dissipation
simone-silvestri ce68c00
ok this works up to RK40
simone-silvestri 69bb785
test a bit more high and low-order split RK schemes
simone-silvestri 388f5f5
remove vestigial code
simone-silvestri a3d63fe
promote type
simone-silvestri 269372d
only if it is static!
simone-silvestri 882036c
add a nonhydrostatic ab2 step
simone-silvestri ca6b464
some more changes
simone-silvestri 829ee72
variance dissipation
simone-silvestri 2995d54
Update barotropic_split_explicit_corrector.jl
simone-silvestri 103359e
Merge branch 'main' into ss/optimize-weno
simone-silvestri f7d09d4
Merge branch 'main' into ss/reformulate-hydrostatic-model-2
simone-silvestri db2ff89
make tests start
simone-silvestri 3fbc4ed
correct tripolar test
simone-silvestri 065fd00
fix single column mode
simone-silvestri d06c9ec
add AB2 for nonhydrostatic
simone-silvestri 33acaf3
add ab2_step_field!
simone-silvestri cc1887a
at least nonhydrostatic should work
simone-silvestri 80ffcee
some fixes
simone-silvestri 0c857a0
some bugfixes
simone-silvestri 54978cd
substep
simone-silvestri 743e4f5
simplify substepping
simone-silvestri cf0b011
fix everything but the hydrostatic model
simone-silvestri 67a2309
update the hydrostatic step
simone-silvestri acbee4e
go again
simone-silvestri 9725a97
cache previous tendencies outside
simone-silvestri ac8acb7
fix shallow water model
simone-silvestri ee694e3
nonhydrostatic should be ready
simone-silvestri 6822241
just pass the name
simone-silvestri f6fef2e
remove the show method
simone-silvestri 394390e
need to pass the field!
simone-silvestri 9dad1ca
implicit step is done on the stage dt
simone-silvestri 21ed24e
more changes
simone-silvestri 0ceb353
test only on the RK steppers
simone-silvestri 98bca31
correct the shallow water model
simone-silvestri f5c9d33
fix this
simone-silvestri 35b3c6b
fix SWM
simone-silvestri 778edc8
fix couple more tests
simone-silvestri 9ca7325
better
simone-silvestri 9e944e9
this seems to work!
simone-silvestri 85dae05
fix
simone-silvestri 3b2d84d
do not include the explicit free surface for the moment
simone-silvestri 5847b59
fix reactant tests
simone-silvestri 7a7b2a5
do not test multiregion until we are aure
simone-silvestri 57c3c97
remove another small file
simone-silvestri dc239c7
add this
simone-silvestri 5a8723b
Merge branch 'main' into ss/optimize-weno
simone-silvestri d8c97f5
add this
simone-silvestri 3fadd7c
new test
simone-silvestri a50494d
correct barotropic mode
simone-silvestri 21db5ef
small fixes
simone-silvestri fab2f6d
fix couple of tests
simone-silvestri fd2480b
more changes
simone-silvestri 5525fb6
correct barotropic mode
simone-silvestri 38a80f5
this for the moment
simone-silvestri 46d50c7
Merge branch 'main' into ss/reformulate-hydrostatic-model-2
simone-silvestri eeb34aa
I will solve this tomorrow
simone-silvestri eb2a9c8
Merge branch 'ss/reformulate-hydrostatic-model-2' of github.com:CliMA…
simone-silvestri d3fd74a
go with it
simone-silvestri 303af69
Merge branch 'main' into ss/optimize-weno
simone-silvestri db69388
fix device!
simone-silvestri f427be2
couple of fixes
simone-silvestri 8532535
add a test
simone-silvestri 39787e0
Bump patch release version 0.99.3
navidcy 709be18
Update test_distributed_architectures.jl
simone-silvestri 0a5167d
Modify ROCGPU device function for AMD compatibility
simone-silvestri b7ffe6a
Update architecture check for CUDAGPU
navidcy 626bf9f
remove stray spaces
navidcy 3d40eea
fix
simone-silvestri 060d31a
Merge remote-tracking branch 'origin/ss/fix-distributed-memory-issue'…
simone-silvestri a1b38e3
Merge remote-tracking branch 'origin/ss/optimize-weno' into ss/reform…
simone-silvestri 6b07b8e
Merge branch 'main' into ss/reformulate-hydrostatic-model-2
simone-silvestri c221bb8
fix the immersed problem
simone-silvestri eff67b5
Merge branch 'ss/reformulate-hydrostatic-model-2' of github.com:CliMA…
simone-silvestri db647c8
small fix
simone-silvestri dcfd9f5
add this
simone-silvestri 7f1be57
Merge branch 'main' into ss/reformulate-hydrostatic-model-2
simone-silvestri e5be8a3
Update src/Advection/reconstruction_coefficients.jl
simone-silvestri 9b07df6
test this
simone-silvestri 9fcfe54
add a conservation test for distributed architectures
simone-silvestri 91c2d8d
bugfix
simone-silvestri d723abd
Update src/Models/HydrostaticFreeSurfaceModels/pcg_implicit_free_surf…
simone-silvestri 7ca87ac
reintroduce WENO11
simone-silvestri c854bf4
adding coefficients
simone-silvestri 91cc41a
Merge branch 'main' into ss/optimize-weno
simone-silvestri 579b409
adding in the smoothness
simone-silvestri 1ce4e4a
Merge branch 'ss/optimize-weno' of github.com:CliMA/Oceananigans.jl i…
simone-silvestri 444f7b6
complete 11th order implementation
simone-silvestri 97f8a70
Merge branch 'main' into ss/optimize-weno
simone-silvestri 1062702
small test
simone-silvestri 312f620
bugfix
simone-silvestri 5b553e3
Merge branch 'ss/optimize-weno' of github.com:CliMA/Oceananigans.jl i…
simone-silvestri 31c5d7a
another bugfix
simone-silvestri 18873fc
fix all coefficients
simone-silvestri 1d216f1
fix catke RK
simone-silvestri 7f19f0f
Merge branch 'main' into ss/reformulate-hydrostatic-model-2
simone-silvestri ed57c81
add order 11
simone-silvestri e49ba2b
added the different schemes
simone-silvestri c531a7e
bugfix
simone-silvestri c026077
fix all tests
simone-silvestri 1a440fa
fixed all the orders
simone-silvestri 9a7487c
fix all tests
simone-silvestri b455d76
try it like this
simone-silvestri 1e83747
Merge branch 'ss/reformulate-hydrostatic-model-2' of github.com:CliMA…
simone-silvestri 54da012
some more changes
simone-silvestri a70b84c
Merge branch 'ss/reformulate-hydrostatic-model-2' of github.com:CliMA…
simone-silvestri 3465cd0
add sixth order also for immersed boundaries
simone-silvestri fe4c822
remove this for the moment
simone-silvestri 51a6664
Merge branch 'main' into ss/optimize-weno
simone-silvestri de2b59f
ok this now works
simone-silvestri 6aac95d
works for distributed
simone-silvestri 637596d
remove the compute tendencies in update state
simone-silvestri 599f392
start fixing up tests
simone-silvestri ec54de3
same formulation for AB2
simone-silvestri 6718991
this works
simone-silvestri 2826f9b
do not compute tendencies in the shallow water
simone-silvestri 40d7eed
back to how it was
simone-silvestri e1589e5
rmeove the storage space
simone-silvestri 6378637
integers instead of floats
simone-silvestri b354f4a
all integers
simone-silvestri 4f89324
some space
simone-silvestri fe84adf
test like this
simone-silvestri 0bdf00d
try with Int32
simone-silvestri c164206
more improvements
simone-silvestri 5064482
more updates
simone-silvestri 0aa1f3a
commnt
simone-silvestri 2d9cbca
fix zstar tests
simone-silvestri 2dba4cb
add also AB2
simone-silvestri bf99394
Merge branch 'main' into ss/optimize-weno
simone-silvestri 1559975
chnage the example for the moment
simone-silvestri 4b62ae3
limit correctly the scheme
simone-silvestri 2280a4f
new changes
simone-silvestri 89ad73d
small mistake
simone-silvestri 59a51ad
Merge remote-tracking branch 'origin/ss/optimize-weno' into ss/reform…
simone-silvestri 57a0381
we step the tracers at the end
simone-silvestri 1d08364
Merge branch 'main' into ss/optimize-weno
simone-silvestri 6979dbb
why would this slow down?
simone-silvestri 055dda8
why is this not running?
simone-silvestri abe8fe8
go back to upwind
simone-silvestri c09d818
improve the benchmark
simone-silvestri 8cb8e17
improve benchmarks
simone-silvestri 632b76f
not sure why this was different...
simone-silvestri 7def910
Merge branch 'main' into ss/improve-benchmarks-pipeline
simone-silvestri 91317f4
Allow scalar assignment in benchmark tests
simone-silvestri c4d3141
Merge remote-tracking branch 'origin/ss/improve-benchmarks-pipeline' …
simone-silvestri a087afe
this is the correct way to do it
simone-silvestri 4cf6043
Merge branch 'main' into ss/optimize-weno
simone-silvestri edf54df
Merge branch 'main' into ss/optimize-weno
simone-silvestri 4ae301c
correct
simone-silvestri 52bfc01
changes
simone-silvestri 6dfe3ed
bugfix
simone-silvestri 9463b78
comment
simone-silvestri 19a13f5
add the bias
simone-silvestri 62d01ba
Merge branch 'main' into ss/optimize-weno
simone-silvestri 656f44a
mask correct fields
simone-silvestri ae8803a
introduce correct biases
simone-silvestri 89f5814
this should work
simone-silvestri c301878
Merge remote-tracking branch 'origin/ss/optimize-weno' into ss/reform…
simone-silvestri 39767b2
immersed order
simone-silvestri c520979
immersed order
simone-silvestri 60031e3
disambiguate
simone-silvestri 611b5da
make sure this works
simone-silvestri 7c5596c
abstract underlying grid
simone-silvestri ccf6747
6th order...
simone-silvestri 948d003
fix bugs
simone-silvestri 6bda30e
Update src/Advection/weno_coefficients.jl
simone-silvestri 8461f1b
fill halo every time
simone-silvestri 4b2f590
bugfix
simone-silvestri 41f957d
bugfix
simone-silvestri a7a9c6f
fill halo in correct spot
simone-silvestri 69c25b5
comment
simone-silvestri 52e0c2d
back to how it was
simone-silvestri 39057c9
fix the tests
simone-silvestri f87c5c2
Merge branch 'ss/optimize-weno' of github.com:CliMA/Oceananigans.jl i…
simone-silvestri c9fb757
Merge branch 'main' into ss/reformulate-hydrostatic-model-2
simone-silvestri 1e3fed5
introduce cache tendencies
simone-silvestri ca8bb2f
Merge branch 'ss/optimize-weno' into ss/reformulate-hydrostatic-model-2
simone-silvestri fb21894
cache field tendencies
simone-silvestri 3ea0694
cache field tendencies
simone-silvestri e7d1c18
do not compute tendencies
simone-silvestri 3926e60
add also shallow water
simone-silvestri fe97699
correct the implicit solver
simone-silvestri ce5367e
add the caching
simone-silvestri 88b5015
moew bugfixes
simone-silvestri b18adb9
add fields(model)
simone-silvestri 1cae6d6
go back to previous advection
simone-silvestri 3810d84
Merge branch 'main' into ss/reformulate-hydrostatic-model-2
simone-silvestri 40a5bb7
try this
simone-silvestri 6bd3fb1
fix a couple of tests
simone-silvestri 8a09ceb
back to how it was
simone-silvestri bb139d2
Merge remote-tracking branch 'origin/main' into ss/reformulate-hydros…
simone-silvestri d7b22af
show condition
simone-silvestri 9853d65
send it
simone-silvestri 17b1fac
more tests
simone-silvestri 0676e44
comment
simone-silvestri fbbe5fe
fix the geostrophic adjustment
simone-silvestri a7469c8
correct
simone-silvestri 5f05381
Merge branch 'main' into ss/reformulate-hydrostatic-model-2
simone-silvestri 637daa7
not yet
simone-silvestri 1b63922
Merge branch 'ss/reformulate-hydrostatic-model-2' of github.com:CliMA…
simone-silvestri 87d53c5
more changes
simone-silvestri c3446d2
Merge branch 'main' into ss/reformulate-hydrostatic-model-2
simone-silvestri 2f62b9e
remove QAB2 conservation testset
simone-silvestri 692ac92
Merge branch 'ss/reformulate-hydrostatic-model-2' of github.com:CliMA…
simone-silvestri dbc37f8
Merge branch 'main' into ss/reformulate-hydrostatic-model-2
simone-silvestri 915ec93
back to this default
simone-silvestri c492ed1
Merge branch 'ss/reformulate-hydrostatic-model-2' of github.com:CliMA…
simone-silvestri 92173d9
fix another bug
simone-silvestri 48eb436
fix shallow water
simone-silvestri File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
how related to this PR?
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.
I am trying to figure out how to distribute operations in time. I don't think this is necessary anymore.