Changeset 1999 for LMDZ5/branches/testing/libf/phylmd/phyetat0.F90
- Timestamp:
- Mar 20, 2014, 10:57:19 AM (10 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 1922-1927,1929-1933,1937-1939,1943-1997
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/phylmd/phyetat0.F90
r1910 r1999 3 3 SUBROUTINE phyetat0 (fichnom, clesphy0, tabcntr0) 4 4 5 USE dimphy 6 USE mod_grid_phy_lmdz 7 USE mod_phys_lmdz_para 8 USE iophy 5 USE dimphy, only: klon, zmasq, klev 6 USE iophy, ONLY : init_iophy_new 9 7 USE ocean_cpl_mod, ONLY : ocean_cpl_init 10 8 USE fonte_neige_mod, ONLY : fonte_neige_init 11 9 USE pbl_surface_mod, ONLY : pbl_surface_init 12 10 USE surface_data, ONLY : type_ocean 13 USE phys_state_var_mod 14 USE iostart 15 USE write_field_phy 16 USE infotrac 11 USE phys_state_var_mod, ONLY : ancien_ok, clwcon, detr_therm, dtime, & 12 du_gwd_rando, dv_gwd_rando, entr_therm, f0, falb1, falb2, fm_therm, & 13 ftsol, pbl_tke, pctsrf, q_ancien, radpas, radsol, rain_fall, ratqs, & 14 rlat, rlon, rnebcon, rugoro, sig1, snow_fall, solaire_etat0, sollw, & 15 solsw, t_ancien, u_ancien, v_ancien, w01, wake_cstar, wake_deltaq, & 16 wake_deltat, wake_fip, wake_pe, wake_s, zgam, zmax0, zmea, zpic, zsig, & 17 zstd, zthe, zval 18 USE iostart, ONLY : close_startphy, get_field, get_var, open_startphy 19 USE infotrac, only: nbtr, type_trac, tname, niadv 17 20 USE traclmdz_mod, ONLY : traclmdz_from_restart 18 21 USE carbon_cycle_mod, ONLY : carbon_cycle_tr, carbon_cycle_cpl, co2_send 19 USE indice_sol_mod 22 USE indice_sol_mod, only: nbsrf, is_ter, epsfra, is_lic, is_oce, is_sic 20 23 21 24 IMPLICIT none … … 206 209 IF (nsrf.GT.99) THEN 207 210 PRINT*, "Trop de sous-mailles" 208 CALL abort211 call abort_gcm("phyetat0", "", 1) 209 212 ENDIF 210 213 WRITE(str2, '(i2.2)') nsrf … … 242 245 IF (isoil.GT.99 .AND. nsrf.GT.99) THEN 243 246 PRINT*, "Trop de couches ou sous-mailles" 244 CALL abort247 call abort_gcm("phyetat0", "", 1) 245 248 ENDIF 246 249 WRITE(str7, '(i2.2, "srf", i2.2)') isoil, nsrf … … 266 269 IF (nsrf.GT.99) THEN 267 270 PRINT*, "Trop de sous-mailles" 268 CALL abort271 call abort_gcm("phyetat0", "", 1) 269 272 ENDIF 270 273 WRITE(str2, '(i2.2)') nsrf … … 321 324 IF (nsrf.GT.99) THEN 322 325 PRINT*, "Trop de sous-mailles" 323 CALL abort326 call abort_gcm("phyetat0", "", 1) 324 327 ENDIF 325 328 WRITE(str2, '(i2.2)') nsrf … … 359 362 IF (nsrf.GT.99) THEN 360 363 PRINT*, "Trop de sous-mailles" 361 CALL abort364 call abort_gcm("phyetat0", "", 1) 362 365 ENDIF 363 366 WRITE(str2, '(i2.2)') nsrf … … 425 428 IF (nsrf.GT.99) THEN 426 429 PRINT*, "Trop de sous-mailles" 427 CALL abort430 call abort_gcm("phyetat0", "", 1) 428 431 ENDIF 429 432 WRITE(str2, '(i2.2)') nsrf … … 544 547 IF (nsrf.GT.99) THEN 545 548 PRINT*, "Trop de sous-mailles" 546 CALL abort549 call abort_gcm("phyetat0", "", 1) 547 550 ENDIF 548 551 WRITE(str2, '(i2.2)') nsrf … … 582 585 IF (nsrf.GT.99) THEN 583 586 PRINT*, "Trop de sous-mailles" 584 CALL abort587 call abort_gcm("phyetat0", "", 1) 585 588 ENDIF 586 589 WRITE(str2, '(i2.2)') nsrf … … 775 778 IF (nsrf.GT.99) THEN 776 779 PRINT*, "Trop de sous-mailles" 777 CALL abort780 call abort_gcm("phyetat0", "", 1) 778 781 ENDIF 779 782 WRITE(str2, '(i2.2)') nsrf … … 1028 1031 END IF 1029 1032 1033 if (ok_gwd_rando) then 1034 call get_field("du_gwd_rando", du_gwd_rando, found) 1035 if (.not. found) then 1036 print *, "du_gwd_rando not found, setting it to 0." 1037 du_gwd_rando = 0. 1038 end if 1039 1040 call get_field("dv_gwd_rando", dv_gwd_rando, found) 1041 if (.not. found) then 1042 print *, "dv_gwd_rando not found, setting it to 0." 1043 dv_gwd_rando = 0. 1044 end if 1045 end if 1046 1030 1047 ! on ferme le fichier 1031 1048 CALL close_startphy
Note: See TracChangeset
for help on using the changeset viewer.