Changeset 1592 for trunk/LMDZ.COMMON/libf/dyn3d_common
- Timestamp:
- Sep 1, 2016, 3:15:36 PM (8 years ago)
- Location:
- trunk/LMDZ.COMMON/libf/dyn3d_common
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.