Skip to content

Commit

Permalink
rm FT.(get_field)
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasloan25 committed Dec 11, 2023
1 parent d4d8050 commit 5315d8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ConservationChecker.jl
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function check_conservation!(

# save atmos
previous = getproperty(ccs, sim_name)
current = sum(FT.(Interfacer.get_field(sim, Val(:energy)))) # # ∫ J / m^3 dV
current = sum(Interfacer.get_field(sim, Val(:energy))) # # ∫ J / m^3 dV

push!(previous, current)
total += current + radiation_sources_accum
Expand All @@ -122,7 +122,7 @@ function check_conservation!(
current = FT(0)
else
previous = getproperty(ccs, sim_name)
current = sum(FT.(Interfacer.get_field(sim, Val(:energy)) .* area_fraction)) # # ∫ J / m^3 dV
current = sum(Interfacer.get_field(sim, Val(:energy)) .* area_fraction) # # ∫ J / m^3 dV
end
push!(previous, current)
total += current
Expand Down

0 comments on commit 5315d8f

Please sign in to comment.