From ae40ff5c3f7e877b8fbc57a9567b37c0fe4ebca2 Mon Sep 17 00:00:00 2001 From: mbutzin Date: Wed, 17 Aug 2022 20:31:28 +0200 Subject: [PATCH] Change calculation of radioactive decay. --- src/oce_ale_tracer.F90 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/oce_ale_tracer.F90 b/src/oce_ale_tracer.F90 index a7bd52f26..06b157752 100644 --- a/src/oce_ale_tracer.F90 +++ b/src/oce_ale_tracer.F90 @@ -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'