Skip to content

Commit

Permalink
Debug print in tendencies
Browse files Browse the repository at this point in the history
  • Loading branch information
charleskawczynski committed Nov 23, 2024
1 parent b64d141 commit 70d8348
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/problems.jl
Original file line number Diff line number Diff line change
Expand Up @@ -503,9 +503,13 @@ function climacore_2Dheat_test_cts(::Type{FT}) where {FT}

function T_exp!(tendency, state, _, t)
@. tendency.u = wdiv(grad(state.u)) + f_0 * exp(-+ Δλ) * t) * φ_sin_sin
e1 = extrema(tendency.u)
dss_tendency && Spaces.weighted_dss!(tendency.u)
e2 = extrema(tendency.u)
_FT = Spaces.undertype(axes(state.u))
set_boundaries!(tendency.u, _FT(0))
e3 = extrema(tendency.u)
@show e1, e2, e3
return nothing
end

Expand Down

0 comments on commit 70d8348

Please sign in to comment.