Skip to content

Commit 7a2d2b2

Browse files
committed
wip - running shortwave and longwave solver with developing interface
1 parent d6fa7c5 commit 7a2d2b2

13 files changed

+705
-954
lines changed

Project.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,26 @@ version = "0.1.0"
66
[deps]
77
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
88
AtmosphericProfilesLibrary = "86bc3604-9858-485a-bdbe-831ec50de11d"
9+
ClimaComms = "3a4d1b5c-c61d-41fd-a00a-5873ba7a1b0d"
10+
ClimaParams = "5c42b081-d73a-476f-9059-fd94b934656c"
911
CloudMicrophysics = "6a9e3e04-43cd-43ba-94b9-e8782df3c71b"
1012
JLD2 = "033835bb-8acc-5ee8-8aae-3f567f8a3819"
1113
KernelAbstractions = "63c18a36-062a-441e-b654-da1e3ab1ce7c"
1214
Oceananigans = "9e8cae18-63c1-5223-a75c-80ca9d6e9a09"
1315
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
16+
RRTMGP = "a01a1ee8-cea4-48fc-987c-fc7878d79da1"
1417
RootSolvers = "7181ea78-2dcb-4de3-ab41-2b8ab5a31e74"
1518

1619
[compat]
1720
Adapt = "4.3.0"
1821
AtmosphericProfilesLibrary = "0.1.7"
22+
ClimaComms = "0.6.9"
23+
ClimaParams = "0.10.35"
1924
CloudMicrophysics = "0.22.13"
2025
JLD2 = "0.5.13"
2126
Oceananigans = "0.99"
2227
Printf = "1"
28+
RRTMGP = "0.21.4"
2329
RootSolvers = "0.4.4"
2430

2531
[extras]

src/Breeze.jl

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,11 @@ export
2020

2121
using Oceananigans
2222
using Oceananigans.Grids: znode
23+
using Oceananigans.Architectures: array_type, CPU, GPU
24+
using Oceananigans: field
2325

2426
export
27+
array_type,
2528
CPU, GPU,
2629
Center, Face, Periodic, Bounded, Flat,
2730
RectilinearGrid,
@@ -35,6 +38,7 @@ export
3538
FluxBoundaryCondition, ValueBoundaryCondition, GradientBoundaryCondition,
3639
OpenBoundaryCondition, PerturbationAdvection, FieldBoundaryConditions,
3740
Field, CenterField, XFaceField, YFaceField, ZFaceField,
41+
field,
3842
Average, Integral,
3943
BackgroundField, interior, set!, compute!, regrid!,
4044
Forcing,
@@ -49,6 +53,10 @@ export
4953
∂x, ∂y, ∂z, @at, KernelFunctionOperation,
5054
prettytime
5155

56+
include("utils_grid.jl")
57+
export
58+
ncols
59+
5260
include("Thermodynamics/Thermodynamics.jl")
5361
using .Thermodynamics
5462

@@ -58,4 +66,14 @@ using .MoistAirBuoyancies
5866
include("AtmosphereModels/AtmosphereModels.jl")
5967
using .AtmosphereModels
6068

69+
include("Radiation/Radiation.jl")
70+
using .Radiation
71+
72+
export
73+
AbstractRadiationModel,
74+
RRTMGPModel,
75+
initialize_rrtmgp_model,
76+
compute_vertical_fluxes!,
77+
flux_results
78+
6179
end # module Breeze

src/Microphysics/Microphysics.jl

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/Microphysics/default_microphysics.jl

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)