Skip to content

Commit

Permalink
Change calculation of radioactive decay.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbutzin committed Aug 17, 2022
1 parent d974ac0 commit ae40ff5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/oce_ale_tracer.F90
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,8 @@ subroutine solve_tracers_ale(mesh)
call diff_tracers_ale(tr_num, mesh)

! Radioactive decay of 14C and 39Ar
!! if (tracer_id(tr_num) == 14) tr_arr(:,:,tr_num) = tr_arr(:,:,tr_num) * exp(-decay14 * dt)
if (tracer_id(tr_num) == 14) tr_arr(:,:,tr_num) = tr_arr(:,:,tr_num) * (1. - decay14 * dt)
!! if (tracer_id(tr_num) == 39) tr_arr(:,:,tr_num) = tr_arr(:,:,tr_num) * exp(-decay39 * dt)
if (tracer_id(tr_num) == 39) tr_arr(:,:,tr_num) = tr_arr(:,:,tr_num) * (1. - decay39 * dt)
if (tracer_id(tr_num) == 14) tr_arr(:,:,tr_num) = tr_arr(:,:,tr_num) * exp(-decay14 * dt)
if (tracer_id(tr_num) == 39) tr_arr(:,:,tr_num) = tr_arr(:,:,tr_num) * exp(-decay39 * dt)

! relax to salt and temp climatology
if (flag_debug .and. mype==0) print *, achar(27)//'[37m'//' --> call relax_to_clim'//achar(27)//'[0m'
Expand Down

0 comments on commit ae40ff5

Please sign in to comment.