@@ -40,21 +40,15 @@ Interfacer.get_field(sim::TestAtmos, ::Val{:liquid_precipitation}) =
4040 CC. Fields. zeros (axes (sim. integrator. T))
4141Interfacer. get_field (sim:: TestAtmos , :: Val{:snow_precipitation} ) =
4242 CC. Fields. zeros (axes (sim. integrator. T))
43+ FieldExchanger. update_sim! (sim:: TestAtmos , fields, _) = nothing
4344
44-
45- function FieldExchanger. import_atmos_fields! (csf, sim:: TestAtmos , atmos_sim)
46- # update atmos properties in coupler fields needed to compute surface fluxes
47- Interfacer. get_field! (csf. T_atmos, atmos_sim, Val (:air_temperature ))
48- Interfacer. get_field! (csf. q_atmos, atmos_sim, Val (:specific_humidity ))
49- Interfacer. get_field! (csf. ρ_atmos, atmos_sim, Val (:air_density ))
50- end
51-
52- function FieldExchanger. update_sim! (sim:: TestAtmos , fields, _)
45+ function FluxCalculator. update_turbulent_fluxes! (sim:: TestAtmos , fields)
5346 (; F_turb_ρτxz, F_lh, F_sh, F_turb_moisture) = fields
5447 ρ_int = sim. integrator. ρ
5548 @. sim. integrator. p. energy_bc = F_lh + F_sh
5649 @. sim. integrator. p. ρq_tot_bc = F_turb_moisture
5750 @. sim. integrator. p. uₕ_bc = F_turb_ρτxz / ρ_int # x-component only for this test
51+ return nothing
5852end
5953
6054function get_thermo_params (sim:: TestAtmos )
@@ -86,8 +80,6 @@ Interfacer.get_field(
8680) = sim. integrator. p. α
8781Interfacer. get_field (sim:: TestOcean , :: Val{:emissivity} ) = eltype (sim. integrator. T)(1 )
8882
89- FieldExchanger. import_atmos_fields! (csf, sim:: TestOcean , atmos_sim) = nothing
90-
9183function FluxCalculator. update_turbulent_fluxes! (sim:: TestOcean , fields:: NamedTuple )
9284 (; F_lh, F_sh) = fields
9385 @. sim. integrator. p. F_aero = F_lh + F_sh
0 commit comments