- Timestamp:
- Sep 1, 2016, 3:15:36 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 2 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DOC/chantiers/commit_importants.log
r1576 r1592 1867 1867 models). 1868 1868 1869 ********************** 1870 **** commit_v1592 **** 1871 ********************** 1872 Ehouarn: Further adaptations to stick with LMDZ5 (at this point one can 1873 compile phylmd, from LMDZ5 revision 2602, with LMDZ.COMMON!) 1874 1875 * dyn3d and dyn3dpar: 1876 - removed ce0l.F90 1877 1878 * dyn3d_common: 1879 - added conf_dat_m.F90 (for Earth model) 1880 - modified diagedyn.F: hard coded constants for Earth and error message 1881 for other planets 1882 1883 * misc: 1884 - added slopes_m.F90 and regr1_conserv_m.F90 used by Earth model -
trunk/LMDZ.COMMON/libf/dyn3d_common/diagedyn.F
r1401 r1592 53 53 c====================================================================== 54 54 55 USE control_mod, ONLY : planet_type 55 56 USE cpdet_mod, ONLY: cpdet,tpot2t 56 57 … … 66 67 !#include "../phylmd/YOETHF.h" 67 68 !#endif 69 ! Ehouarn: for now set these parameters to what is in Earth physics... 70 ! (cf ../phylmd/suphel.h) 71 ! this should be generalized... 72 REAL,PARAMETER :: RCPD= 73 & 3.5*(1000.*(6.0221367E+23*1.380658E-23)/28.9644) 74 REAL,PARAMETER :: RCPV= 75 & 4.*(1000.*(6.0221367E+23*1.380658E-23)/18.0153) 76 REAL,PARAMETER :: RCS=RCPV 77 REAL,PARAMETER :: RCW=RCPV 78 REAL,PARAMETER :: RLSTT=2.8345E+6 79 REAL,PARAMETER :: RLVTT=2.5008E+6 80 ! 68 81 C 69 82 INTEGER imjmp1 … … 142 155 143 156 144 #ifdef CPP_EARTH 157 !#ifdef CPP_EARTH 158 IF (planet_type=="earth") THEN 159 145 160 c====================================================================== 146 161 C Compute Kinetic enrgy … … 319 334 ec_pre (idiag) = ec_tot 320 335 C 321 #else 322 write(lunout,*)'diagedyn: Needs Earth physics to function' 323 #endif 336 !#else 337 ELSE 338 write(lunout,*)'diagedyn: set to function with Earth parameters' 339 ENDIF ! of if (planet_type=="earth") 340 !#endif 324 341 ! #endif of #ifdef CPP_EARTH 325 342 RETURN
Note: See TracChangeset
for help on using the changeset viewer.