Skip to content

Commit

Permalink
Bugfix: update operator
Browse files Browse the repository at this point in the history
PON%remin is PON%sflux_in * dzr_loc + ..., not PON%sflux_in + dzr_loc + ...
  • Loading branch information
mnlevy1981 committed Jan 9, 2025
1 parent 2d313de commit 01f796f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/marbl_interior_tendency_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -3294,7 +3294,7 @@ subroutine compute_particulate_terms(k, domain, bot_flux_to_tend, p_remin_scalef

if (PON%sflux_out(k) < c0) then
PON%sflux_out(k) = c0
PON%remin(k) = PON%sflux_in(k) + dzr_loc + &
PON%remin(k) = PON%sflux_in(k) * dzr_loc + &
(c1 - PON%gamma) * PON%prod(k)
end if

Expand Down

0 comments on commit 01f796f

Please sign in to comment.