Changeset 1969 for trunk/LMDZ.MARS/libf/phymars
- Timestamp:
- Jul 11, 2018, 11:47:54 AM (6 years ago)
- Location:
- trunk/LMDZ.MARS/libf/phymars
- Files:
-
- 3 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/callradite_mod.F
r1918 r1969 12 12 13 13 use aeropacity_mod, only: aeropacity 14 use updatereffrad_mod, only: updatereffrad 14 15 use dimradmars_mod, only: ndomainsz, nflev, nsun, nir 15 16 use dimradmars_mod, only: naerkind, name_iaer, -
trunk/LMDZ.MARS/libf/phymars/physiq_mod.F
r1962 r1969 50 50 USE comcstfi_h, only: r, cpp, mugaz, g, rcp, pi, rad 51 51 USE calldrag_noro_mod, ONLY: calldrag_noro 52 USE vdifc_mod, ONLY: vdifc 52 53 use param_v4_h, only: nreact,n_avog, 53 54 & fill_data_thermos, allocate_param_thermos -
trunk/LMDZ.MARS/libf/phymars/updatereffrad_mod.F
r1968 r1969 1 MODULE updatereffrad_mod 2 3 IMPLICIT NONE 4 5 CONTAINS 6 1 7 SUBROUTINE updatereffrad(ngrid,nlayer, 2 8 & rdust,rice,nuice, 3 9 & reffrad,nueffrad, 4 10 & pq,tauscaling,tau,pplay) 5 USE updaterad 11 USE updaterad, ONLY: updaterdust, updaterice_micro, 12 & updaterice_typ 6 13 use tracer_mod, only: nqmx, igcm_dust_mass, igcm_dust_number, 7 14 & igcm_h2o_ice, igcm_ccn_mass, radius, … … 12 19 & iaer_dust_conrath,iaer_dust_doubleq, 13 20 & iaer_dust_submicron,iaer_h2o_ice 14 USE comcstfi_h 21 15 22 IMPLICIT NONE 16 23 c======================================================================= … … 35 42 c ------------- 36 43 c 37 #include "callkeys.h"44 include "callkeys.h" 38 45 39 46 c----------------------------------------------------------------------- … … 202 209 ENDDO ! iaer (loop on aerosol kind) 203 210 204 RETURN 205 END 211 END SUBROUTINE updatereffrad 212 213 END MODULE updatereffrad_mod -
trunk/LMDZ.MARS/libf/phymars/vdifc_mod.F
r1968 r1969 1 MODULE vdifc_mod 2 3 IMPLICIT NONE 4 5 CONTAINS 6 1 7 SUBROUTINE vdifc(ngrid,nlay,nq,co2ice,ppopsk, 2 8 $ ptimestep,pcapcal,lecrit, … … 12 18 & igcm_h2o_ice, alpha_lift 13 19 use surfdat_h, only: watercaptag, frost_albedo_threshold, dryness 14 USE comcstfi_h 20 USE comcstfi_h, ONLY: cpp, r, rcp, g 15 21 use turb_mod, only: turb_resolved, ustar, tstar 16 22 IMPLICIT NONE … … 872 878 ENDIF 873 879 874 RETURN875 880 END SUBROUTINE vdifc 881 882 END MODULE vdifc_mod -
trunk/LMDZ.MARS/libf/phymars/watercloud_mod.F
r1964 r1969 88 88 ! for time loop 89 89 INTEGER microstep ! time subsampling step variable 90 INTEGER imicro ! time subsampling for coupled water microphysics & sedimentation 91 SAVE imicro 92 REAL microtimestep ! integration timestep for coupled water microphysics & sedimentation 93 SAVE microtimestep 90 INTEGER,SAVE :: imicro ! time subsampling for coupled water microphysics & sedimentation 91 REAL,SAVE :: microtimestep ! integration timestep for coupled water microphysics & sedimentation 92 REAL,SAVE :: microtimestep_prev=-999 94 93 95 94 ! tendency given by clouds (inside the micro loop) … … 145 144 #endif 146 145 call getin("imicro",imicro) 147 write(*,*)" imicro = ",imicro146 write(*,*)"watercloud: imicro = ",imicro 148 147 149 148 firstcall=.false. … … 153 152 !! TBD: consider possible diff imicro with domains? 154 153 microtimestep = ptimestep/real(imicro) 155 write(*,*)"Physical timestep is",ptimestep 156 write(*,*)"Microphysics timestep is",microtimestep 157 154 if (microtimestep/=microtimestep_prev) then 155 ! only tell the world if microtimestep has changed 156 write(*,*)"watercloud: Physical timestep is ",ptimestep 157 write(*,*)"watercloud: Microphysics timestep is ",microtimestep 158 microtimestep_prev=microtimestep 159 endif 158 160 159 161 c-----Initialization
Note: See TracChangeset
for help on using the changeset viewer.