Changeset 782 for LMDZ4/trunk/libf/phylmd/phyetat0.F
- Timestamp:
- Jun 11, 2007, 4:50:43 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/trunk/libf/phylmd/phyetat0.F
r779 r782 5 5 c 6 6 SUBROUTINE phyetat0 (fichnom,dtime,co2_ppm_etat0,solaire_etat0, 7 . rlat_p,rlon_p, pctsrf_p, tsol_p,tsoil_p, 8 cIM "slab" ocean 9 . ocean, tslab_p,seaice_p, 10 . qsurf_p,qsol_p,snow_p,albe_p, alblw_p, evap_p, 7 . rlat_p, rlon_p, pctsrf_p, tsol_p, 8 . ocean_in, ok_veget_in, 9 . albe_p, alblw_p, 11 10 . rain_fall_p, snow_fall_p,solsw_p, sollw_p, 12 . fder_p,radsol_p,frugs_p,agesno_p,clesphy0,11 . radsol_p,clesphy0, 13 12 . zmea_p,zstd_p,zsig_p,zgam_p,zthe_p,zpic_p,zval_p, 14 13 . rugsrel_p,tabcntr0, 15 14 . t_ancien_p,q_ancien_p,ancien_ok_p, rnebcon_p, ratqs_p, 16 . clwcon_p,run_off_lic_0_p) 15 . clwcon_p) 16 17 17 USE dimphy 18 18 USE mod_grid_phy_lmdz 19 19 USE mod_phys_lmdz_para 20 20 USE iophy 21 USE ocean_slab_mod, ONLY : ocean_slab_init 22 USE ocean_cpl_mod, ONLY : ocean_cpl_init 23 USE ocean_forced_mod, ONLY : ocean_forced_init 24 USE fonte_neige_mod, ONLY : fonte_neige_init 25 USE pbl_surface_mod, ONLY : pbl_surface_init 26 USE surface_data, ONLY : ocean, ok_veget 27 21 28 IMPLICIT none 22 29 c====================================================================== … … 25 32 c====================================================================== 26 33 #include "dimensions.h" 27 cym#include "dimphy.h"28 34 #include "netcdf.inc" 29 35 #include "indicesol.h" … … 111 117 real ratqs(klon_glo,klev) 112 118 113 CHARACTER*6 ocean 119 CHARACTER*6 ocean_in 120 LOGICAL ok_veget_in 114 121 115 122 INTEGER longcles … … 515 522 c Lecture de tslab (pour slab ocean seulement): 516 523 c 517 IF (ocean .eq. 'slab ') then524 IF (ocean_in .eq. 'slab ') then 518 525 ierr = NF_INQ_VARID (nid, "TSLAB", nvarid) 519 526 IF (ierr.NE.NF_NOERR) THEN … … 1543 1550 call Scatter( zmasq_glo,zmasq) 1544 1551 1552 c 1553 c Initilalize variables in module surface_data 1554 c 1555 ok_veget = ok_veget_in 1556 ocean = ocean_in 1557 c 1558 c Initialize module pbl_surface_mod 1559 c 1560 CALL pbl_surface_init(qsol_p, fder_p, snow_p, qsurf_p, 1561 $ evap_p, frugs_p, agesno_p, tsoil_p) 1562 1563 c Initialize ocean module according to ocean type 1564 IF ( ocean == 'slab' ) THEN 1565 c initilalize module ocean_slab_init 1566 CALL ocean_slab_init(dtime, tslab_p, seaice_p, pctsrf_p) 1567 ELSEIF ( ocean == 'couple' ) THEN 1568 c initilalize module ocean_cpl_init 1569 CALL ocean_cpl_init(dtime, rlon_p, rlat_p) 1570 ELSE 1571 c initilalize module ocean_forced_init 1572 CALL ocean_forced_init 1573 ENDIF 1574 c 1575 c Initilialize module fonte_neige_mod 1576 c 1577 CALL fonte_neige_init(run_off_lic_0_p) 1578 1579 1545 1580 RETURN 1546 1581 END
Note: See TracChangeset
for help on using the changeset viewer.