Changeset 995 for LMDZ4/trunk
- Timestamp:
- Sep 9, 2008, 3:17:08 PM (16 years ago)
- Location:
- LMDZ4/trunk/libf
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/trunk/libf/dyn3d/abort_gcm.F
r524 r995 19 19 C ierr = severity of situation ( = 0 normal ) 20 20 21 character* 20modname21 character*(*) modname 22 22 integer ierr 23 character* 80message23 character*(*) message 24 24 25 25 write(lunout,*) 'in abort_gcm' -
LMDZ4/trunk/libf/dyn3d/etat0_netcdf.F
r988 r995 11 11 USE fonte_neige_mod 12 12 USE pbl_surface_mod 13 USE ocean_slab_mod14 USE surface_data, ONLY : ocean, ok_veget15 13 USE phys_state_var_mod 16 14 ! … … 46 44 REAL :: alblw(klon,nbsrf) 47 45 REAL :: tsoil(klon,nsoilmx,nbsrf) 48 cIM "slab" ocean49 REAL :: tslab(klon), seaice(klon)50 46 REAL :: frugs(klon,nbsrf), agesno(klon,nbsrf) 51 47 REAL :: rugmer(klon) … … 113 109 real zx_tmp_2d(iim,jjp1) 114 110 115 REAL :: dummy (klon, nbsrf)111 REAL :: dummy 116 112 117 113 logical :: ok_newmicro … … 152 148 ! CALL defrun_new(99,.TRUE.,clesphy0) 153 149 CALL conf_gcm( 99, .TRUE. , clesphy0 ) 154 call conf_phys(o cean, ok_veget, ok_journe, ok_mensuel, ok_instan,&150 call conf_phys(ok_journe, ok_mensuel, ok_instan, & 155 151 & ok_hf, & 156 152 & solarlong0,seuil_inversion, & … … 418 414 . jjm, rlonu, rlatv , interbar ) 419 415 ! 420 cIM "slab" ocean421 varname = 'tslab'422 tslab(:) = 0.0423 CALL startget(varname,iip1,jjp1,rlonv,rlatu,klon,tslab,0.0,424 . jjm, rlonu, rlatv , interbar )425 c426 varname = 'seaice'427 seaice(:) = 0.0428 CALL startget(varname,iip1,jjp1,rlonv,rlatu,klon,seaice,0.0,429 . jjm, rlonu, rlatv , interbar )430 !431 416 varname = 'rugmer' 432 417 rugmer(:) = 0.0 … … 710 695 q_ancien = 0. 711 696 agesno = 0. 712 cIM "slab" ocean713 tslab(1:klon) = ftsol(1:klon,is_oce)714 seaice = 0. !kg m-2715 c716 697 frugs(1:klon,is_oce) = rugmer(1:klon) 717 698 frugs(1:klon,is_ter) = MAX(1.0e-05, zstd(1:klon)*zsig(1:klon)/2.0) … … 729 710 c avec les valeurs qui vont etre ecrit dans startphy.nc 730 711 c 731 dummy(:,:) = 1.0 732 ocean = "slab" 712 dummy = 1.0 733 713 pbl_tke(:,:,:) = 1.e-8 734 714 zmax0(:) = 40. … … 745 725 call pbl_surface_init(qsol, fder, snsrf, qsolsrf, 746 726 $ evap, frugs, agesno, tsoil) 747 call ocean_slab_init(dummy(1,1), tslab, seaice, dummy(:,:))748 727 749 728 call phyredem("startphy.nc") -
LMDZ4/trunk/libf/dyn3d/limit_netcdf.F
r989 r995 1177 1177 ENDDO 1178 1178 c 1179 c Ecriture de fichier limit toujours en simple precision, NF_FLOAT 1179 1180 PRINT*, 'Ecriture du fichier limit' 1180 1181 c … … 1237 1238 epais(2) = 1 1238 1239 c 1239 #ifdef NC_DOUBLE1240 ierr = NF_PUT_VAR1_DOUBLE (nid,id_tim,k,DBLE(k))1241 c1242 IF (newlmt ) THEN1243 ierr = NF_PUT_VARA_DOUBLE (nid,id_FOCE,debut,epais1244 $ ,pctsrf_t(1,is_oce,k))1245 ierr = NF_PUT_VARA_DOUBLE (nid,id_FSIC,debut,epais1246 $ ,pctsrf_t(1,is_sic,k))1247 ierr = NF_PUT_VARA_DOUBLE (nid,id_FTER,debut,epais1248 $ ,pctsrf_t(1,is_ter,k))1249 ierr = NF_PUT_VARA_DOUBLE (nid,id_FLIC,debut,epais1250 $ ,pctsrf_t(1,is_lic,k))1251 ELSE1252 ierr = NF_PUT_VARA_DOUBLE (nid,id_NAT,debut,epais1253 $ ,phy_nat(1,k))1254 ENDIF1255 c1256 ierr = NF_PUT_VARA_DOUBLE (nid,id_SST,debut,epais,phy_sst(1,k))1257 ierr = NF_PUT_VARA_DOUBLE (nid,id_BILS,debut,epais,phy_bil(1,k))1258 ierr = NF_PUT_VARA_DOUBLE (nid,id_ALB,debut,epais,phy_alb(1,k))1259 ierr = NF_PUT_VARA_DOUBLE (nid,id_RUG,debut,epais,phy_rug(1,k))1260 #else1261 1240 ierr = NF_PUT_VAR1_REAL (nid,id_tim,k,FLOAT(k)) 1262 1241 IF (newlmt ) THEN … … 1277 1256 ierr = NF_PUT_VARA_REAL (nid,id_ALB,debut,epais,phy_alb(1,k)) 1278 1257 ierr = NF_PUT_VARA_REAL (nid,id_RUG,debut,epais,phy_rug(1,k)) 1279 #endif1280 1258 c 1281 1259 ENDDO -
LMDZ4/trunk/libf/dyn3dpar/abort_gcm.F
r985 r995 19 19 C ierr = severity of situation ( = 0 normal ) 20 20 21 character (len= 20) :: modname21 character (len=*) :: modname 22 22 integer ierr 23 character (len= 80) :: message23 character (len=*) :: message 24 24 25 25 write(lunout,*) 'in abort_gcm' -
LMDZ4/trunk/libf/dyn3dpar/leapfrog_p.F
r985 r995 324 324 c$OMP MASTER 325 325 ItCount=ItCount+1 326 if (MOD(ItCount,1)== 0) then326 if (MOD(ItCount,1)==1) then 327 327 debug=.true. 328 328 else -
LMDZ4/trunk/libf/dyn3dpar/parallel.F90
r985 r995 157 157 use mod_prism_proto 158 158 #endif 159 use surface_data, only : ocean159 use surface_data, only : type_ocean 160 160 implicit none 161 161 … … 170 170 deallocate(jj_nb_para) 171 171 172 if ( ocean == 'couple') then172 if (type_ocean == 'couple') then 173 173 #ifdef CPP_COUPLE 174 174 call prism_terminate_proto(ierr)
Note: See TracChangeset
for help on using the changeset viewer.