Changeset 3838 for dynamico_lmdz/aquaplanet/LMDZ5/libf/phylmd
- Timestamp:
- Jun 27, 2015, 8:11:14 AM (9 years ago)
- Location:
- dynamico_lmdz/aquaplanet/LMDZ5/libf/phylmd
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
dynamico_lmdz/aquaplanet/LMDZ5/libf/phylmd/calcul_divers.h
r3825 r3838 20 20 21 21 ! Calcul fin de journee : total_rain, nday_rain 22 IF(MOD(itap,NINT(un_jour/ dtime)).EQ.0) THEN22 IF(MOD(itap,NINT(un_jour/pdtphys)).EQ.0) THEN 23 23 ! print*,'calcul nday_rain itap ',itap 24 24 DO i = 1, klon … … 29 29 30 30 ! Initialisation fin de mois 31 IF(MOD(itap-itapm1,NINT(mth_len*un_jour/ dtime)).EQ.0) THEN32 itapm1=itapm1+NINT(mth_len*un_jour/ dtime)31 IF(MOD(itap-itapm1,NINT(mth_len*un_jour/pdtphys)).EQ.0) THEN 32 itapm1=itapm1+NINT(mth_len*un_jour/pdtphys) 33 33 ! print*,'initialisation itapm1 ',itapm1 34 34 ENDIF … … 41 41 t2m_max_mon=0. 42 42 ENDIF 43 IF(MOD(itap,NINT(un_jour/ dtime)).EQ.1) THEN43 IF(MOD(itap,NINT(un_jour/pdtphys)).EQ.1) THEN 44 44 zt2m_min_mon=zt2m 45 45 zt2m_max_mon=zt2m … … 51 51 ENDDO 52 52 !fin de journee 53 IF(MOD(itap,NINT(un_jour/ dtime)).EQ.0) THEN53 IF(MOD(itap,NINT(un_jour/pdtphys)).EQ.0) THEN 54 54 t2m_min_mon=t2m_min_mon+zt2m_min_mon 55 55 t2m_max_mon=t2m_max_mon+zt2m_max_mon -
dynamico_lmdz/aquaplanet/LMDZ5/libf/phylmd/ini_histday_seri.h
r3825 r3838 7 7 IF (type_run.EQ."AMIP") THEN 8 8 ! 9 zstophy = dtime9 zstophy = pdtphys 10 10 zout = ecrit_day 11 11 ! … … 31 31 nbp_lon,zx_lon(:,1), jjmp1,zx_lat(1,:), & 32 32 imin_debut,nbpti,jmin_debut,nbptj, & 33 itau_phy, zjulian, dtime, &33 itau_phy, zjulian, pdtphys, & 34 34 nhori, nid_day_seri) 35 35 ! -
dynamico_lmdz/aquaplanet/LMDZ5/libf/phylmd/ini_paramLMDZ_phy.h
r3825 r3838 9 9 if (is_mpi_root) then 10 10 ! 11 zstophy = dtime11 zstophy = pdtphys 12 12 zout = mth_len*un_jour 13 13 ! … … 27 27 np,zx_lon(np:np,1), np,zx_lat(1,np:np), & 28 28 1,1,1,1, & 29 itau_phy, zjulian, dtime, &29 itau_phy, zjulian, pdtphys, & 30 30 nhori, nid_ctesGCM) 31 31 ! -
dynamico_lmdz/aquaplanet/LMDZ5/libf/phylmd/ini_undefSTD.F90
r3809 r3838 7 7 USE phys_state_var_mod ! Variables sauvegardees de la physique 8 8 USE phys_cal_mod, ONLY: mth_len 9 USE time_phylmdz_mod, ONLY: pdtphys 9 10 IMPLICIT NONE 10 11 include "clesphys.h" … … 58 59 59 60 IF (n==1 .AND. itap-itapm1==1 .OR. n>1 .AND. mod(itap,nint( & 60 freq_outnmc(n)/ dtime))==1) THEN61 freq_outnmc(n)/pdtphys))==1) THEN 61 62 ! print*,'ini_undefSTD n itap',n,itap 62 63 DO k = 1, nlevstd -
dynamico_lmdz/aquaplanet/LMDZ5/libf/phylmd/moy_undefSTD.F90
r3809 r3838 7 7 USE phys_state_var_mod 8 8 USE phys_cal_mod, ONLY: mth_len 9 USE time_phylmdz_mod, ONLY: pdtphys 9 10 IMPLICIT NONE 10 11 include "clesphys.h" … … 67 68 68 69 IF (n==1 .AND. itap==itapm1 .OR. n>1 .AND. mod(itap,nint(freq_outnmc(n)/ & 69 dtime))==0) THEN70 pdtphys))==0) THEN 70 71 71 72 ! print*,'moy_undefSTD n itap itapm1',n,itap,itapm1 … … 132 133 END DO !i 133 134 END DO !k 134 END IF !MOD(itap,NINT(freq_outNMC(n)/ dtime)).EQ.0135 END IF !MOD(itap,NINT(freq_outNMC(n)/pdtphys)).EQ.0 135 136 136 137 END DO !n -
dynamico_lmdz/aquaplanet/LMDZ5/libf/phylmd/phyetat0.F90
r3831 r3838 10 10 USE surface_data, ONLY : type_ocean, version_ocean 11 11 USE geometry_mod, ONLY : lon_degrees, lat_degrees 12 USE phys_state_var_mod, ONLY : ancien_ok, clwcon, detr_therm, dtime,&12 USE phys_state_var_mod, ONLY : ancien_ok, clwcon, detr_therm, & 13 13 qsol, fevap, z0m, z0h, agesno, & 14 14 du_gwd_rando, dv_gwd_rando, entr_therm, f0, fm_therm, & … … 838 838 839 839 IF ( type_ocean == 'slab' ) THEN 840 CALL ocean_slab_init( dtime, pctsrf)840 CALL ocean_slab_init(pdtphys, pctsrf) 841 841 found=phyetat0_get(nslay,tslab,"tslab","tslab",0.) 842 842 IF (.NOT. found) THEN … … 876 876 ! Initialize module ocean_cpl_mod for the case of coupled ocean 877 877 IF ( type_ocean == 'couple' ) THEN 878 CALL ocean_cpl_init( dtime, lon_degrees, lat_degrees)878 CALL ocean_cpl_init(pdtphys, lon_degrees, lat_degrees) 879 879 ENDIF 880 880 -
dynamico_lmdz/aquaplanet/LMDZ5/libf/phylmd/phyredem.F90
r3831 r3838 18 18 USE surface_data 19 19 USE ocean_slab_mod, ONLY : tslab, seaice, tice, fsic 20 USE time_phylmdz_mod, ONLY: annee_ref, day_end, itau_phy 20 USE time_phylmdz_mod, ONLY: annee_ref, day_end, itau_phy, pdtphys 21 21 22 22 IMPLICIT none … … 69 69 tab_cntrl(ierr) = 0.0 70 70 ENDDO 71 tab_cntrl(1) = dtime71 tab_cntrl(1) = pdtphys 72 72 tab_cntrl(2) = radpas 73 73 ! co2_ppm : current value of atmospheric CO2 -
dynamico_lmdz/aquaplanet/LMDZ5/libf/phylmd/phys_state_var_mod.F90
r3825 r3838 17 17 INTEGER, SAVE :: radpas 18 18 !$OMP THREADPRIVATE(radpas) 19 REAL, SAVE :: dtime,solaire_etat020 !$OMP THREADPRIVATE( dtime,solaire_etat0)19 REAL, SAVE :: solaire_etat0 20 !$OMP THREADPRIVATE(solaire_etat0) 21 21 22 22 REAL, ALLOCATABLE, SAVE :: pctsrf(:,:) -
dynamico_lmdz/aquaplanet/LMDZ5/libf/phylmd/undefSTD.F90
r3818 r3838 6 6 USE dimphy 7 7 USE phys_state_var_mod ! Variables sauvegardees de la physique 8 USE time_phylmdz_mod, ONLY: pdtphys 8 9 IMPLICIT NONE 9 10 include "clesphys.h" … … 57 58 58 59 59 ! calcul variables tous les freq_calNMC(n)/ dtimepas de temps60 ! calcul variables tous les freq_calNMC(n)/pdtphys pas de temps 60 61 ! de la physique 61 62 62 IF (mod(itap,nint(freq_calnmc(n)/ dtime))==0) THEN63 IF (mod(itap,nint(freq_calnmc(n)/pdtphys))==0) THEN 63 64 DO k = 1, nlevstd 64 65 DO i = 1, klon … … 93 94 END DO !k 94 95 95 END IF !MOD(itap,NINT(freq_calNMC(n)/ dtime)).EQ.096 END IF !MOD(itap,NINT(freq_calNMC(n)/pdtphys)).EQ.0 96 97 97 98 END DO !n
Note: See TracChangeset
for help on using the changeset viewer.