Skip to content

Commit

Permalink
fix thermal williamson 5
Browse files Browse the repository at this point in the history
  • Loading branch information
tommbendall authored Dec 20, 2024
1 parent f707f54 commit a92f9a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions case_studies/thermal_shallow_water/thermal_williamson_5.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
)
from gusto import (
Domain, IO, OutputParameters, DGUpwind, SubcyclingOptions,
ShallowWaterParameters, ShallowWaterEquations, Sum,
ShallowWaterParameters, ThermalShallowWaterEquations, Sum,
lonlatr_from_xyz, GeneralIcosahedralSphereMesh, RelativeVorticity,
ZonalComponent, MeridionalComponent, RungeKuttaFormulation, SSPRK3,
SemiImplicitQuasiNewton, ThermalSWSolver
Expand Down Expand Up @@ -81,8 +81,8 @@ def thermal_williamson_5(
tpexpr = mountain_height * (1 - r/R0)

# Equation
eqns = ShallowWaterEquations(
domain, parameters, fexpr=fexpr, bexpr=tpexpr, thermal=True,
eqns = ThermalShallowWaterEquations(
domain, parameters, fexpr=fexpr, topog_expr=tpexpr, thermal=True,
u_transport_option=u_eqn_type
)

Expand Down

0 comments on commit a92f9a8

Please sign in to comment.