Skip to content

Commit

Permalink
works
Browse files Browse the repository at this point in the history
  • Loading branch information
Sbozzolo committed Jun 6, 2024
1 parent 65780c0 commit 193fabe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/shared_utilities/drivers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export AbstractAtmosphericDrivers,
CoupledRadiativeFluxes,
compute_ρ_sfc,
set_atmos_ts!,
turbulent_fluxes,
turbulent_fluxes_fn,
net_radiation,
turbulent_fluxes_at_a_point,
liquid_precipitation,
Expand Down Expand Up @@ -191,7 +191,7 @@ Positive fluxes indicate flow from the ground to the atmosphere.
It solves for these given atmospheric conditions, stored in `atmos`,
model parameters, and the surface conditions.
"""
function turbulent_fluxes(
function turbulent_fluxes_fn(
atmos::PrescribedAtmosphere,
model::AbstractModel,
Y::ClimaCore.Fields.FieldVector,
Expand Down
10 changes: 5 additions & 5 deletions src/standalone/Bucket/Bucket.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,23 @@ using ClimaCore.Operators: InterpolateC2F, DivergenceF2C, GradientC2F, SetValue
using ClimaCore.Geometry: WVector
using ClimaComms

using ClimaLand
using ..ClimaLand

import ..Parameters as LP
import ClimaLand.Domains: coordinates, SphericalShell
using ClimaLand:
using ..ClimaLand:
AbstractAtmosphericDrivers,
AbstractRadiativeDrivers,
liquid_precipitation,
snow_precipitation,
turbulent_fluxes,
turbulent_fluxes_fn,
net_radiation,
compute_ρ_sfc,
AbstractExpModel,
heaviside,
PrescribedAtmosphere,
add_dss_buffer_to_aux
import ClimaLand:
import ..ClimaLand:
make_update_aux,
make_compute_exp_tendency,
prognostic_vars,
Expand Down Expand Up @@ -422,7 +422,7 @@ function make_update_aux(model::BucketModel{FT}) where {FT}
)
# Compute turbulent surface fluxes
p.bucket.turbulent_fluxes .=
turbulent_fluxes(model.atmos, model, Y, p, t)
turbulent_fluxes_fn(model.atmos, model, Y, p, t)

# Radiative fluxes
p.bucket.R_n .= net_radiation(model.radiation, model, Y, p, t)
Expand Down

0 comments on commit 193fabe

Please sign in to comment.