-
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
base: main
Are you sure you want to change the base?
Changes from 250 commits
00cf837
bd39907
c7bc307
766edaf
18b97c8
b140cbc
6cc2e77
40f5748
063da11
66507e3
bd94021
a283c75
767e63a
9b75574
c0dc82c
0d4075e
b47de18
7ad870c
4665ee4
7758430
3c12819
6e6a17b
49c6a0c
5e54a02
2d55080
48842d0
1a1ab47
fa9d3a4
ae4fe89
c90859d
b59a993
b3175de
713ae0d
6185f76
1205129
a2ede5c
eebff7b
a11e985
1060ed3
54889fb
f239d42
88fd0aa
ce68c00
69bb785
388f5f5
a3d63fe
269372d
882036c
ca6b464
829ee72
2995d54
103359e
f7d09d4
db2ff89
3fbc4ed
065fd00
d06c9ec
33acaf3
cc1887a
80ffcee
0c857a0
54978cd
743e4f5
cf0b011
67a2309
acbee4e
9725a97
ac8acb7
ee694e3
6822241
f6fef2e
394390e
9dad1ca
21ed24e
0ceb353
98bca31
f5c9d33
35b3c6b
778edc8
9ca7325
9e944e9
85dae05
3b2d84d
5847b59
7a7b2a5
57c3c97
dc239c7
5a8723b
d8c97f5
3fadd7c
a50494d
21db5ef
fab2f6d
fd2480b
5525fb6
38a80f5
46d50c7
eeb34aa
eb2a9c8
d3fd74a
303af69
db69388
f427be2
8532535
39787e0
709be18
0a5167d
b7ffe6a
626bf9f
3d40eea
060d31a
a1b38e3
6b07b8e
c221bb8
eff67b5
db647c8
dcfd9f5
7f1be57
e5be8a3
9b07df6
9fcfe54
91c2d8d
d723abd
7ca87ac
c854bf4
91cc41a
579b409
1ce4e4a
444f7b6
97f8a70
1062702
312f620
5b553e3
31c5d7a
18873fc
1d216f1
7f19f0f
ed57c81
e49ba2b
c531a7e
c026077
1a440fa
9a7487c
b455d76
1e83747
54da012
a70b84c
3465cd0
fe4c822
51a6664
de2b59f
6aac95d
637596d
599f392
ec54de3
6718991
2826f9b
40d7eed
e1589e5
6378637
b354f4a
4f89324
fe84adf
0bdf00d
c164206
5064482
0aa1f3a
2d9cbca
2dba4cb
bf99394
1559975
4b62ae3
2280a4f
89ad73d
59a51ad
57a0381
1d08364
6979dbb
055dda8
abe8fe8
c09d818
8cb8e17
632b76f
7def910
91317f4
c4d3141
a087afe
4cf6043
edf54df
4ae301c
52bfc01
6dfe3ed
9463b78
19a13f5
62d01ba
656f44a
ae8803a
89f5814
c301878
39767b2
c520979
60031e3
611b5da
7c5596c
ccf6747
948d003
6bda30e
8461f1b
4b2f590
41f957d
a7a9c6f
69c25b5
52e0c2d
39057c9
f87c5c2
c9fb757
1e3fed5
ca8bb2f
fb21894
3ea0694
e7d1c18
3926e60
fe97699
ce5367e
88b5015
b18adb9
1cae6d6
3810d84
40a5bb7
6bd3fb1
8a09ceb
bb139d2
d7b22af
9853d65
17b1fac
0676e44
fbbe5fe
a7469c8
5f05381
637daa7
1b63922
87d53c5
c3446d2
2f62b9e
692ac92
dbc37f8
915ec93
c492ed1
92173d9
48eb436
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -44,6 +44,8 @@ import Base: show, summary, Callable | |
| import Oceananigans.Grids: required_halo_size_x, required_halo_size_y, required_halo_size_z | ||
| import Oceananigans.Architectures: on_architecture | ||
|
|
||
| using Oceananigans.Grids: XFlatGrid, YFlatGrid, ZFlatGrid | ||
|
|
||
| abstract type AbstractAdvectionScheme{B, FT} end | ||
| abstract type AbstractCenteredAdvectionScheme{B, FT} <: AbstractAdvectionScheme{B, FT} end | ||
| abstract type AbstractUpwindBiasedAdvectionScheme{B, FT} <: AbstractAdvectionScheme{B, FT} end | ||
|
|
@@ -52,11 +54,11 @@ abstract type AbstractUpwindBiasedAdvectionScheme{B, FT} <: AbstractAdvectionSch | |
| # are constructed via metaprogramming. (The `advection_buffer` is the width of | ||
| # the halo region required for an advection scheme on a non-immersed-boundary grid.) | ||
| # An upper limit of `advection_buffer = 6` means we can build advection schemes up to | ||
| # `Centered(order=12`) and `UpwindBiased(order=11)`. The list can be extended in order to | ||
| # `Centered(order=10`) and `UpwindBiased(order=9)`. The list can be extended in order to | ||
| # compile schemes with higher orders; for example `advection_buffers = [1, 2, 3, 4, 5, 6, 8]` | ||
| # will compile schemes for `advection_buffer=8` and thus `Centered(order=16)` and `UpwindBiased(order=15)`. | ||
| # Note that it is not possible to compile schemes for `advection_buffer = 41` or higher. | ||
| const advection_buffers = [1, 2, 3, 4, 5, 6] | ||
| const advection_buffers = [1, 2, 3, 4, 5] | ||
|
||
|
|
||
| @inline Base.eltype(::AbstractAdvectionScheme{<:Any, FT}) where FT = FT | ||
|
|
||
|
|
||
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.