Changeset 2239 for LMDZ5/trunk/libf/dyn3d_common
- Timestamp:
- Mar 23, 2015, 8:27:30 AM (10 years ago)
- Location:
- LMDZ5/trunk/libf/dyn3d_common
- Files:
-
- 1 deleted
- 1 edited
- 6 copied
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dyn3d_common/diagedyn.F
r1952 r2239 53 53 c====================================================================== 54 54 55 USE control_mod, ONLY : planet_type 56 55 57 IMPLICIT NONE 56 58 C … … 60 62 #include "iniprint.h" 61 63 62 #ifdef CPP_EARTH 63 #include "../phylmd/YOMCST.h" 64 #include "../phylmd/YOETHF.h" 65 #endif 64 !#ifdef CPP_EARTH 65 !#include "../phylmd/YOMCST.h" 66 !#include "../phylmd/YOETHF.h" 67 !#endif 68 ! Ehouarn: for now set these parameters to what is in Earth physics... 69 ! (cf ../phylmd/suphel.h) 70 ! this should be generalized... 71 REAL,PARAMETER :: RCPD= 72 & 3.5*(1000.*(6.0221367E+23*1.380658E-23)/28.9644) 73 REAL,PARAMETER :: RCPV= 74 & 4.*(1000.*(6.0221367E+23*1.380658E-23)/18.0153) 75 REAL,PARAMETER :: RCS=RCPV 76 REAL,PARAMETER :: RCW=RCPV 77 REAL,PARAMETER :: RLSTT=2.8345E+6 78 REAL,PARAMETER :: RLVTT=2.5008E+6 79 ! 66 80 C 67 81 INTEGER imjmp1 … … 140 154 141 155 142 #ifdef CPP_EARTH 156 !#ifdef CPP_EARTH 157 IF (planet_type=="earth") THEN 158 143 159 c====================================================================== 144 160 C Compute Kinetic enrgy … … 314 330 ec_pre (idiag) = ec_tot 315 331 C 316 #else 317 write(lunout,*)'diagedyn: Needs Earth physics to function' 318 #endif 332 !#else 333 ELSE 334 write(lunout,*)'diagedyn: set to function with Earth parameters' 335 ENDIF ! of if (planet_type=="earth") 336 !#endif 319 337 ! #endif of #ifdef CPP_EARTH 320 338 RETURN
Note: See TracChangeset
for help on using the changeset viewer.