Changeset 2302
- Timestamp:
- Jun 17, 2015, 2:46:36 PM (9 years ago)
- Location:
- LMDZ5/trunk/libf
- Files:
-
- 4 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dyn3d/leapfrog.F
r2286 r2302 443 443 IF (ip_ebil_dyn.ge.1 ) THEN 444 444 ztit='bil dyn' 445 ! Ehouarn: be careful, diagedyn is Earth-specific (includes ../phylmd/..)!445 ! Ehouarn: be careful, diagedyn is Earth-specific! 446 446 IF (planet_type.eq."earth") THEN 447 #ifdef CPP_EARTH448 447 CALL diagedyn(ztit,2,1,1,dtphys 449 448 & , ucov , vcov , ps, p ,pk , teta , q(:,:,1), q(:,:,2)) 450 #endif451 449 ENDIF 452 450 ENDIF ! of IF (ip_ebil_dyn.ge.1 ) -
LMDZ5/trunk/libf/dyn3dpar/leapfrog_p.F
r2239 r2302 747 747 IF (ip_ebil_dyn.ge.1 ) THEN 748 748 ztit='bil dyn' 749 ! Ehouarn: be careful, diagedyn is Earth-specific (includes ../phylmd/..)!749 ! Ehouarn: be careful, diagedyn is Earth-specific! 750 750 IF (planet_type.eq."earth") THEN 751 #ifdef CPP_EARTH752 751 CALL diagedyn(ztit,2,1,1,dtphys 753 752 & , ucov , vcov , ps, p ,pk , teta , q(:,:,1), q(:,:,2)) 754 #endif755 753 ENDIF 756 754 ENDIF -
LMDZ5/trunk/libf/dynlonlat_phylonlat/phylmd/etat0dyn_netcdf.F90
r2301 r2302 77 77 USE control_mod 78 78 #ifdef CPP_PHYS 79 #ifdef CPP_EARTH80 79 USE regr_lat_time_coefoz_m, ONLY: regr_lat_time_coefoz 81 80 USE regr_pr_o3_m, ONLY: regr_pr_o3 82 81 USE press_coefoz_m, ONLY: press_coefoz 83 #endif84 82 #endif 85 83 USE exner_hyb_m, ONLY: exner_hyb … … 93 91 REAL, INTENT(INOUT) :: masque(iip1,jjp1) !--- Land-ocean mask 94 92 REAL, INTENT(INOUT) :: phis (iip1,jjp1) !--- Ground geopotential 95 !#ifndef CPP_EARTH96 ! WRITE(lunout,*)'etat0dyn_netcdf: Earth-specific routine, needs Earth physics'97 !#else98 93 !------------------------------------------------------------------------------- 99 94 ! Local variables: … … 176 171 177 172 #ifdef CPP_PHYS 178 #ifdef CPP_EARTH179 173 ! Parameterization of ozone chemistry: 180 174 !******************************************************************************* … … 188 182 END IF 189 183 190 #endif191 184 #endif 192 185 q3d(iip1,:,:,:)=q3d(1,:,:,:) … … 232 225 CALL histclo() 233 226 234 !#endif235 ! of ifdef CPP_EARTH236 237 227 END SUBROUTINE etat0dyn_netcdf 238 228 ! … … 240 230 241 231 242 !#ifdef CPP_EARTH243 232 !------------------------------------------------------------------------------- 244 233 ! … … 763 752 !------------------------------------------------------------------------------- 764 753 765 !#endif766 ! of ifdef CPP_EARTH767 768 754 END MODULE etat0dyn 769 755 ! -
LMDZ5/trunk/libf/dynlonlat_phylonlat/phylmd/etat0phys_netcdf.F90
r2300 r2302 36 36 USE ioipsl, ONLY: flininfo, flinopen, flinget, flinclo 37 37 USE assert_eq_m, ONLY: assert_eq 38 #ifdef CPP_EARTH39 38 USE dimphy 40 39 USE phys_state_var_mod, ONLY: zmea, zstd, zsig, zgam, zthe, zpic, zval, z0m, & … … 44 43 zmax0,fevap, rnebcon,falb_dir, wake_fip, agesno, detr_therm, pbl_tke, & 45 44 phys_state_var_init 46 #endif47 45 48 46 PRIVATE … … 82 80 !------------------------------------------------------------------------------- 83 81 USE control_mod 84 #ifdef CPP_EARTH85 82 USE infotrac 86 83 USE fonte_neige_mod … … 93 90 USE test_disvert_m, ONLY: test_disvert 94 91 USE grid_atob_m, ONLY: grille_m 95 #endif96 92 IMPLICIT NONE 97 93 !------------------------------------------------------------------------------- … … 100 96 REAL, INTENT(INOUT) :: masque(:,:) !--- Land mask dim(iip1,jjp1) 101 97 REAL, INTENT(INOUT) :: phis (:,:) !--- Ground geopotential dim(iip1,jjp1) 102 #ifndef CPP_EARTH103 WRITE(lunout,*)'etat0phys_netcdf: Earth-specific routine, needs Earth physics'104 #else105 98 !------------------------------------------------------------------------------- 106 99 ! Local variables: … … 315 308 CALL histclo() 316 309 317 #endif318 !#endif of #ifdef CPP_EARTH319 320 310 END SUBROUTINE etat0phys_netcdf 321 311 ! … … 323 313 324 314 325 #ifdef CPP_EARTH326 315 !------------------------------------------------------------------------------- 327 316 ! … … 550 539 !------------------------------------------------------------------------------- 551 540 552 #endif553 !#endif of #ifdef CPP_EARTH554 541 555 542 END MODULE etat0phys -
LMDZ5/trunk/libf/phylmd/limit_netcdf.F90
r2293 r2302 19 19 USE control_mod 20 20 USE indice_sol_mod 21 #ifdef CPP_EARTH22 21 USE dimphy 23 22 USE ioipsl, ONLY : ioget_year_len … … 30 29 USE netcdf95, ONLY: nf95_def_var, nf95_put_att, nf95_put_var 31 30 USE grid_atob_m, ONLY: grille_m, rugosite, sea_ice 32 #endif33 31 IMPLICIT NONE 34 32 !------------------------------------------------------------------------------- … … 41 39 LOGICAL, INTENT(IN) :: oldice ! old way ice computation 42 40 REAL, DIMENSION(iip1,jjp1), INTENT(IN) :: masque ! land mask 43 #ifndef CPP_EARTH44 CALL abort_gcm('limit_netcdf','Earth-specific routine, needs Earth physics',1)45 #else46 41 !------------------------------------------------------------------------------- 47 42 ! Local variables: … … 648 643 649 644 #endif 650 ! of #ifdef CPP_EARTH651 652 #endif653 645 ! of #ifndef CPP_1D 654 646 END SUBROUTINE limit_netcdf
Note: See TracChangeset
for help on using the changeset viewer.