Changeset 2057 for LMDZ5/trunk/libf/phylmd/phyetat0.F90
- Timestamp:
- Jun 16, 2014, 4:33:38 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/phyetat0.F90
r2054 r2057 3 3 SUBROUTINE phyetat0 (fichnom, clesphy0, tabcntr0) 4 4 5 USE dimphy, only: klon, zmasq, klev 5 USE dimphy, only: klon, zmasq, klev, nslay 6 6 USE iophy, ONLY : init_iophy_new 7 7 USE ocean_cpl_mod, ONLY : ocean_cpl_init … … 21 21 USE carbon_cycle_mod, ONLY : carbon_cycle_tr, carbon_cycle_cpl, co2_send 22 22 USE indice_sol_mod, only: nbsrf, is_ter, epsfra, is_lic, is_oce, is_sic 23 USE ocean_slab_mod, ONLY: tslab, ocean_slab_init 23 24 24 25 IMPLICIT none … … 40 41 41 42 REAL tsoil(klon, nsoilmx, nbsrf) 42 REAL tslab(klon), seaice(klon)43 43 REAL qsurf(klon, nbsrf) 44 44 REAL qsol(klon) … … 1045 1045 end if 1046 1046 1047 ! Initialize Slab variables 1048 IF ( type_ocean == 'slab' ) THEN 1049 ALLOCATE(tslab(klon,nslay), stat=ierr) 1050 IF (ierr /= 0) CALL abort_gcm & 1051 ('phyetat0', 'pb allocation tslab', 1) 1052 CALL get_field("tslab", tslab, found) 1053 IF (.NOT. found) THEN 1054 PRINT*, "phyetat0: Le champ <tslab> est absent" 1055 PRINT*, "Initialisation a tsol_oce" 1056 DO i=1,nslay 1057 tslab(:,i)=ftsol(:,is_oce) 1058 END DO 1059 END IF 1060 print*, "calling slab_init" 1061 CALL ocean_slab_init(dtime, pctsrf) 1062 END IF ! Slab 1063 1047 1064 ! on ferme le fichier 1048 1065 CALL close_startphy
Note: See TracChangeset
for help on using the changeset viewer.