Ignore:
Timestamp:
Jul 8, 2010, 1:46:29 PM (14 years ago)
Author:
jghattas
Message:
  • Added tracer "Age of stratospheric air", activated by putting Aga in tracer.def.
  • The logical rnpb is now controled during execution. rnpb is true only if both tracers RN and PB existe in tracer.def. RN and PB can now be removed from tracer.def
  • In tracer.def, the 2 water traceurs (H2Ov and H2Ol) must still be the first 2 tracers. The following tracers have no specific order(RN and PB can now change places). Still a minimum of 3 tracers are required.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/trunk/libf/phylmd/radio_decay.F90

    r1279 r1409  
    88  USE dimphy
    99  USE infotrac, ONLY : nbtr
     10  USE traclmdz_mod, ONLY : id_rn, id_pb
    1011  IMPLICIT NONE
    1112!-----------------------------------------------------------------------
    1213! Auteur(s): AA + CG (LGGE/CNRS) Date 24-06-94
    1314! Objet: Calcul de la tendance radioactive des traceurs type radioelements
    14 !CG240694 : Pour un traceur, le radon
    15 !CG161294 : Plus un 2eme traceur, le 210Pb. Le radon decroit en plomb.
     15!        Cas particulier pour le couple radon-plomb : Le radon decroit en plomb
    1616!-----------------------------------------------------------------------
    1717!
     
    3434
    3535  DO it = 1,nbtr
     36     d_tr(:,:,it) = 0.
    3637     IF ( radio(it) ) THEN
    3738        IF (tautr(it) .GT. 0.) THEN
     
    4142              END DO
    4243           END DO
    43         ELSE
    44            d_tr(:,:,it) = 0.
    4544        END IF
    46      ELSE
    47         d_tr(:,:,it) = 0.
    4845     END IF
    4946  END DO
     47
    5048!-------------------------------------------------------
    51 !CG161294 : Cas particulier radon [it=1] => plomb [it=2]
     49! Cas particulier radon (id_rn) => plomb (id_pb)
    5250!-------------------------------------------------------
    5351  IF ( rnpb ) THEN
    5452     DO k = 1,klev
    5553        DO i = 1,klon
    56            d_tr(i,k,2) = d_tr(i,k,2) - d_tr(i,k,1)
     54           d_tr(i,k,id_pb) = d_tr(i,k,id_pb) - d_tr(i,k,id_rn)
    5755        ENDDO
    5856     ENDDO
Note: See TracChangeset for help on using the changeset viewer.