radio_decay.f90 Source File


This file depends on

sourcefile~~radio_decay.f90~~EfferentGraph sourcefile~radio_decay.f90 radio_decay.f90 sourcefile~traclmdz_mod.f90 traclmdz_mod.f90 sourcefile~radio_decay.f90->sourcefile~traclmdz_mod.f90 sourcefile~dimphy.f90 dimphy.f90 sourcefile~radio_decay.f90->sourcefile~dimphy.f90 sourcefile~infotrac_phy.f90 infotrac_phy.F90 sourcefile~radio_decay.f90->sourcefile~infotrac_phy.f90 sourcefile~traclmdz_mod.f90->sourcefile~dimphy.f90 sourcefile~traclmdz_mod.f90->sourcefile~infotrac_phy.f90 sourcefile~mod_phys_lmdz_para.f90 mod_phys_lmdz_para.f90 sourcefile~traclmdz_mod.f90->sourcefile~mod_phys_lmdz_para.f90 sourcefile~indice_sol_mod.f90 indice_sol_mod.f90 sourcefile~traclmdz_mod.f90->sourcefile~indice_sol_mod.f90 sourcefile~yomcst_mod_h.f90 yomcst_mod_h.f90 sourcefile~traclmdz_mod.f90->sourcefile~yomcst_mod_h.f90 sourcefile~regr_pr_comb_coefoz_m.f90 regr_pr_comb_coefoz_m.f90 sourcefile~traclmdz_mod.f90->sourcefile~regr_pr_comb_coefoz_m.f90 sourcefile~mod_grid_phy_lmdz.f90 mod_grid_phy_lmdz.f90 sourcefile~traclmdz_mod.f90->sourcefile~mod_grid_phy_lmdz.f90 sourcefile~print_control_mod.f90 print_control_mod.f90 sourcefile~traclmdz_mod.f90->sourcefile~print_control_mod.f90 sourcefile~strings_mod.f90 strings_mod.f90 sourcefile~traclmdz_mod.f90->sourcefile~strings_mod.f90 sourcefile~o3_chem_m.f90 o3_chem_m.f90 sourcefile~traclmdz_mod.f90->sourcefile~o3_chem_m.f90 sourcefile~press_coefoz_m.f90 press_coefoz_m.f90 sourcefile~traclmdz_mod.f90->sourcefile~press_coefoz_m.f90 sourcefile~infotrac_phy.f90->sourcefile~mod_phys_lmdz_para.f90 sourcefile~iniprint_mod_h.f90 iniprint_mod_h.f90 sourcefile~infotrac_phy.f90->sourcefile~iniprint_mod_h.f90 sourcefile~lmdz_cppkeys_wrapper.f90 lmdz_cppkeys_wrapper.F90 sourcefile~infotrac_phy.f90->sourcefile~lmdz_cppkeys_wrapper.f90 sourcefile~infotrac_phy.f90->sourcefile~strings_mod.f90 sourcefile~readtracfiles_mod.f90 readTracFiles_mod.f90 sourcefile~infotrac_phy.f90->sourcefile~readtracfiles_mod.f90 sourcefile~lmdz_reprobus_wrappers.f90 lmdz_reprobus_wrappers.F90 sourcefile~infotrac_phy.f90->sourcefile~lmdz_reprobus_wrappers.f90 sourcefile~ioipsl_getin_p_mod.f90 ioipsl_getin_p_mod.f90 sourcefile~infotrac_phy.f90->sourcefile~ioipsl_getin_p_mod.f90 sourcefile~mod_phys_lmdz_para.f90->sourcefile~mod_grid_phy_lmdz.f90 sourcefile~mod_phys_lmdz_para.f90->sourcefile~print_control_mod.f90 sourcefile~mod_phys_lmdz_mpi_data.f90 mod_phys_lmdz_mpi_data.f90 sourcefile~mod_phys_lmdz_para.f90->sourcefile~mod_phys_lmdz_mpi_data.f90 sourcefile~mod_phys_lmdz_transfert_para.f90 mod_phys_lmdz_transfert_para.f90 sourcefile~mod_phys_lmdz_para.f90->sourcefile~mod_phys_lmdz_transfert_para.f90 sourcefile~mod_phys_lmdz_omp_data.f90 mod_phys_lmdz_omp_data.F90 sourcefile~mod_phys_lmdz_para.f90->sourcefile~mod_phys_lmdz_omp_data.f90 sourcefile~regr_pr_comb_coefoz_m.f90->sourcefile~dimphy.f90 sourcefile~regr_pr_comb_coefoz_m.f90->sourcefile~mod_grid_phy_lmdz.f90 sourcefile~regr_pr_comb_coefoz_m.f90->sourcefile~press_coefoz_m.f90 sourcefile~regr_pr_comb_coefoz_m.f90->sourcefile~mod_phys_lmdz_mpi_data.f90 sourcefile~regr_pr_int_m.f90 regr_pr_int_m.f90 sourcefile~regr_pr_comb_coefoz_m.f90->sourcefile~regr_pr_int_m.f90 sourcefile~regr_pr_time_av_m.f90 regr_pr_time_av_m.f90 sourcefile~regr_pr_comb_coefoz_m.f90->sourcefile~regr_pr_time_av_m.f90 sourcefile~assert_m.f90 assert_m.f90 sourcefile~regr_pr_comb_coefoz_m.f90->sourcefile~assert_m.f90 sourcefile~o3_chem_m.f90->sourcefile~dimphy.f90 sourcefile~o3_chem_m.f90->sourcefile~regr_pr_comb_coefoz_m.f90 sourcefile~o3_chem_m.f90->sourcefile~mod_grid_phy_lmdz.f90 sourcefile~orbite.f90 orbite.f90 sourcefile~o3_chem_m.f90->sourcefile~orbite.f90 sourcefile~nrtype.f90 nrtype.f90 sourcefile~o3_chem_m.f90->sourcefile~nrtype.f90 sourcefile~o3_chem_m.f90->sourcefile~assert_m.f90 sourcefile~readtracfiles_mod.f90->sourcefile~strings_mod.f90 sourcefile~readtracfiles_mod.f90->sourcefile~ioipsl_getin_p_mod.f90 sourcefile~lmdz_reprobus_wrappers.f90->sourcefile~mod_grid_phy_lmdz.f90 sourcefile~ioipsl_getin_p_mod.f90->sourcefile~mod_phys_lmdz_para.f90 sourcefile~ioipsl_getin_p_mod.f90->sourcefile~strings_mod.f90 sourcefile~ioipsl_getin_p_mod.f90->sourcefile~mod_phys_lmdz_transfert_para.f90 sourcefile~press_coefoz_m.f90->sourcefile~mod_phys_lmdz_mpi_data.f90 sourcefile~mod_phys_lmdz_mpi_transfert.f90 mod_phys_lmdz_mpi_transfert.f90 sourcefile~press_coefoz_m.f90->sourcefile~mod_phys_lmdz_mpi_transfert.f90 sourcefile~mod_phys_lmdz_mpi_data.f90->sourcefile~lmdz_cppkeys_wrapper.f90 sourcefile~mod_phys_lmdz_mpi_data.f90->sourcefile~print_control_mod.f90 sourcefile~lmdz_mpi.f90 lmdz_mpi.F90 sourcefile~mod_phys_lmdz_mpi_data.f90->sourcefile~lmdz_mpi.f90 sourcefile~regr_pr_int_m.f90->sourcefile~dimphy.f90 sourcefile~regr_pr_int_m.f90->sourcefile~mod_grid_phy_lmdz.f90 sourcefile~regr_pr_int_m.f90->sourcefile~mod_phys_lmdz_mpi_data.f90 sourcefile~regr_pr_int_m.f90->sourcefile~mod_phys_lmdz_transfert_para.f90 sourcefile~regr_pr_int_m.f90->sourcefile~assert_m.f90 sourcefile~regr_lint_m.f90 regr_lint_m.f90 sourcefile~regr_pr_int_m.f90->sourcefile~regr_lint_m.f90 sourcefile~orbite.f90->sourcefile~dimphy.f90 sourcefile~orbite.f90->sourcefile~yomcst_mod_h.f90 sourcefile~mod_phys_lmdz_mpi_transfert.f90->sourcefile~mod_grid_phy_lmdz.f90 sourcefile~mod_phys_lmdz_mpi_transfert.f90->sourcefile~mod_phys_lmdz_mpi_data.f90 sourcefile~mod_phys_lmdz_mpi_transfert.f90->sourcefile~lmdz_mpi.f90 sourcefile~regr_pr_time_av_m.f90->sourcefile~dimphy.f90 sourcefile~regr_pr_time_av_m.f90->sourcefile~mod_phys_lmdz_para.f90 sourcefile~regr_pr_time_av_m.f90->sourcefile~yomcst_mod_h.f90 sourcefile~regr_pr_time_av_m.f90->sourcefile~mod_grid_phy_lmdz.f90 sourcefile~regr_pr_time_av_m.f90->sourcefile~print_control_mod.f90 sourcefile~regr_pr_time_av_m.f90->sourcefile~mod_phys_lmdz_transfert_para.f90 sourcefile~regr_pr_time_av_m.f90->sourcefile~assert_m.f90 sourcefile~interpolation.f90 interpolation.f90 sourcefile~regr_pr_time_av_m.f90->sourcefile~interpolation.f90 sourcefile~geometry_mod.f90 geometry_mod.f90 sourcefile~regr_pr_time_av_m.f90->sourcefile~geometry_mod.f90 sourcefile~regr_pr_time_av_m.f90->sourcefile~regr_lint_m.f90 sourcefile~phys_cal_mod.f90 phys_cal_mod.f90 sourcefile~regr_pr_time_av_m.f90->sourcefile~phys_cal_mod.f90 sourcefile~assert_eq_m.f90 assert_eq_m.f90 sourcefile~regr_pr_time_av_m.f90->sourcefile~assert_eq_m.f90 sourcefile~slopes_m.f90 slopes_m.f90 sourcefile~regr_pr_time_av_m.f90->sourcefile~slopes_m.f90 sourcefile~clesphys_mod_h.f90 clesphys_mod_h.f90 sourcefile~regr_pr_time_av_m.f90->sourcefile~clesphys_mod_h.f90 sourcefile~regr_conserv_m.f90 regr_conserv_m.f90 sourcefile~regr_pr_time_av_m.f90->sourcefile~regr_conserv_m.f90 sourcefile~write_field_phy.f90 write_field_phy.f90 sourcefile~regr_pr_time_av_m.f90->sourcefile~write_field_phy.f90 sourcefile~mod_phys_lmdz_transfert_para.f90->sourcefile~mod_phys_lmdz_mpi_data.f90 sourcefile~mod_phys_lmdz_transfert_para.f90->sourcefile~mod_phys_lmdz_mpi_transfert.f90 sourcefile~mod_phys_lmdz_omp_transfert.f90 mod_phys_lmdz_omp_transfert.f90 sourcefile~mod_phys_lmdz_transfert_para.f90->sourcefile~mod_phys_lmdz_omp_transfert.f90 sourcefile~mod_phys_lmdz_omp_data.f90->sourcefile~dimphy.f90 sourcefile~mod_phys_lmdz_omp_data.f90->sourcefile~print_control_mod.f90 sourcefile~mod_phys_lmdz_omp_data.f90->sourcefile~mod_phys_lmdz_mpi_data.f90 sourcefile~mod_phys_lmdz_omp_transfert.f90->sourcefile~mod_phys_lmdz_mpi_data.f90 sourcefile~mod_phys_lmdz_omp_transfert.f90->sourcefile~mod_phys_lmdz_omp_data.f90 sourcefile~geometry_mod.f90->sourcefile~mod_grid_phy_lmdz.f90 sourcefile~geometry_mod.f90->sourcefile~nrtype.f90 sourcefile~regr_lint_m.f90->sourcefile~assert_m.f90 sourcefile~regr_lint_m.f90->sourcefile~interpolation.f90 sourcefile~regr_lint_m.f90->sourcefile~assert_eq_m.f90 sourcefile~phys_cal_mod.f90->sourcefile~mod_phys_lmdz_para.f90 sourcefile~phys_cal_mod.f90->sourcefile~ioipsl_getin_p_mod.f90 sourcefile~regr_conserv_m.f90->sourcefile~assert_m.f90 sourcefile~regr_conserv_m.f90->sourcefile~interpolation.f90 sourcefile~regr_conserv_m.f90->sourcefile~assert_eq_m.f90 sourcefile~write_field_phy.f90->sourcefile~mod_phys_lmdz_para.f90 sourcefile~write_field_phy.f90->sourcefile~mod_grid_phy_lmdz.f90 sourcefile~write_field.f90 write_field.f90 sourcefile~write_field_phy.f90->sourcefile~write_field.f90 sourcefile~write_field.f90->sourcefile~strings_mod.f90

Contents

Source Code


Source Code

!
! $Id $
!
SUBROUTINE radio_decay(radio,rnpb,dtime,tautr,tr,d_tr) 
!
! Caluclate radioactive decay for all tracers with radio(it)=true
!
  USE dimphy
  USE infotrac_phy, ONLY : nbtr
  USE traclmdz_mod, ONLY : id_rn, id_pb
  IMPLICIT NONE
!-----------------------------------------------------------------------
! Auteur(s): AA + CG (LGGE/CNRS) Date 24-06-94
! Objet: Calcul de la tendance radioactive des traceurs type radioelements
!        Cas particulier pour le couple radon-plomb : Le radon decroit en plomb
!-----------------------------------------------------------------------
!
! Entrees
!
  LOGICAL,DIMENSION(nbtr),INTENT(IN)        :: radio ! .true. = traceur radioactif  
  LOGICAL,INTENT(IN)                        :: rnpb  ! .true. = decroissance RN = source PB
  REAL,INTENT(IN)                           :: dtime ! Pas de temps physique (secondes)
  REAL,DIMENSION(nbtr),INTENT(IN)           :: tautr ! Constante de decroissance radioactive
  REAL,DIMENSION(klon,klev,nbtr),INTENT(IN) :: tr    ! Concentrations traceurs U/kgA
!
! Sortie
!
  REAL,DIMENSION(klon,klev,nbtr),INTENT(OUT) :: d_tr  ! Tendance de decroissance radioactive
!
! Locales
!
  INTEGER  :: i,k,it


  DO it = 1,nbtr
     d_tr(:,:,it) = 0.
     IF ( radio(it) ) THEN
        IF (tautr(it) .GT. 0.) THEN
           DO k = 1,klev
              DO i = 1,klon
                 d_tr(i,k,it) = - tr(i,k,it) * dtime / tautr(it)
              END DO
           END DO
        END IF
     END IF
  END DO

!-------------------------------------------------------
! Cas particulier radon (id_rn) => plomb (id_pb)
!-------------------------------------------------------
  IF ( rnpb ) THEN
     DO k = 1,klev
        DO i = 1,klon
           d_tr(i,k,id_pb) = d_tr(i,k,id_pb) - d_tr(i,k,id_rn)
        ENDDO
     ENDDO
  ENDIF

END SUBROUTINE radio_decay