Changeset 205 for LMDZ.3.3/branches/rel-LF
- Timestamp:
- Apr 13, 2001, 4:58:01 PM (24 years ago)
- Location:
- LMDZ.3.3/branches/rel-LF
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ.3.3/branches/rel-LF/libf/dyn3d/abort_gcm.F
r2 r205 1 c 2 c $Header 3 c 1 4 SUBROUTINE abort_gcm(modname, message, ierr) 2 5 … … 16 19 write(*,*) 'in abort_gcm' 17 20 call histclo 21 call restclo 18 22 c call histclo(2) 19 23 c call histclo(3) -
LMDZ.3.3/branches/rel-LF/libf/phylmd/clmain.F
r177 r205 1 SUBROUTINE clmain(dtime,itap, pctsrf,1 SUBROUTINE clmain(dtime,itap,date0,pctsrf, 2 2 . t,q,u,v, 3 3 . jour, rmu0, … … 36 36 c dtime----input-R- interval du temps (secondes) 37 37 c itap-----input-I- numero du pas de temps 38 c date0----input-R- jour initial 38 39 c t--------input-R- temperature (K) 39 40 c q--------input-R- vapeur d'eau (kg/kg) … … 76 77 c 77 78 REAL dtime 79 real date0 78 80 integer itap 79 81 REAL t(klon,klev), q(klon,klev) … … 368 370 369 371 c calculer la diffusion de "q" et de "h" 370 CALL clqh(dtime, itap, jour, debut,lafin,372 CALL clqh(dtime, itap, date0,jour, debut,lafin, 371 373 e rlon, rlat, cufi, cvfi, 372 374 e knon, nsrf, ni, pctsrf, … … 479 481 RETURN 480 482 END 481 SUBROUTINE clqh(dtime,itime, jour,debut,lafin,483 SUBROUTINE clqh(dtime,itime, date0,jour,debut,lafin, 482 484 e rlon, rlat, cufi, cvfi, 483 485 e knon, nisurf, knindex, pctsrf, … … 512 514 INTEGER knon 513 515 REAL dtime ! intervalle du temps (s) 516 real date0 514 517 REAL u1lay(klon) ! vitesse u de la 1ere couche (m/s) 515 518 REAL v1lay(klon) ! vitesse v de la 1ere couche (m/s) … … 729 732 ccanopy = 365. 730 733 731 CALL interfsurf(itime, dtime, jour, rmu0,734 CALL interfsurf(itime, dtime, date0, jour, rmu0, 732 735 e klon, iim, jjm, nisurf, knon, knindex, pctsrf, 733 736 e rlon, rlat, cufi, cvfi, -
LMDZ.3.3/branches/rel-LF/libf/phylmd/interface_surf.F90
r201 r205 49 49 !############################################################################ 50 50 ! 51 SUBROUTINE interfsurf_hq(itime, dtime, jour, rmu0, &51 SUBROUTINE interfsurf_hq(itime, dtime, date0, jour, rmu0, & 52 52 & klon, iim, jjm, nisurf, knon, knindex, pctsrf, & 53 53 & rlon, rlat, cufi, cvfi,& … … 77 77 ! iim, jjm nbres de pts de grille 78 78 ! dtime pas de temps de la physique (en s) 79 ! date0 jour initial 79 80 ! jour jour dans l'annee en cours, 80 81 ! rmu0 cosinus de l'angle solaire zenithal … … 138 139 integer, intent(IN) :: klon 139 140 real, intent(IN) :: dtime 141 real, intent(IN) :: date0 140 142 integer, intent(IN) :: jour 141 143 real, intent(IN) :: rmu0(klon) … … 345 347 scatter= .true. 346 348 if (.not. scatter) then 347 call interfsol(itime, klon, dtime, nisurf, knon, &349 call interfsol(itime, klon, dtime, date0, nisurf, knon, & 348 350 & knindex, rlon, rlat, cufi, cvfi, iim, jjm, pctsrf, & 349 351 & debut, lafin, ok_veget, & … … 355 357 & tsol_rad, tsurf_new, alb_new, emis_new, z0_new, dflux_l, dflux_s) 356 358 else 357 call interfsol_scat(itime, klon, dtime, nisurf, knon, &359 call interfsol_scat(itime, klon, dtime, date0, nisurf, knon, & 358 360 & knindex, rlon, rlat, cufi, cvfi, iim, jjm, pctsrf, & 359 361 & debut, lafin, ok_veget, & … … 622 624 !######################################################################### 623 625 ! 624 SUBROUTINE interfsol(itime, klon, dtime, nisurf, knon, &626 SUBROUTINE interfsol(itime, klon, dtime, date0, nisurf, knon, & 625 627 & knindex, rlon, rlat, cufi, cvfi, iim, jjm, pctsrf, & 626 628 & debut, lafin, ok_veget, & … … 694 696 integer, intent(IN) :: klon 695 697 real, intent(IN) :: dtime 698 real, intent(IN) :: date0 696 699 integer, intent(IN) :: nisurf 697 700 integer, intent(IN) :: knon … … 754 757 real, dimension(klon):: qsurf 755 758 real, dimension(klon):: snow, qsol 756 real, save :: date0 = 0.757 759 real, dimension(knon,2) :: albedo_out 758 760 ! Pb de nomenclature … … 963 965 !######################################################################### 964 966 ! 965 SUBROUTINE interfsol_scat(itime, klon, dtime, nisurf, knon, &967 SUBROUTINE interfsol_scat(itime, klon, dtime, date0, nisurf, knon, & 966 968 & knindex, rlon, rlat, cufi, cvfi, iim, jjm, pctsrf, & 967 969 & debut, lafin, ok_veget, & … … 1035 1037 integer, intent(IN) :: klon 1036 1038 real, intent(IN) :: dtime 1039 real, intent(IN) :: date0 1037 1040 integer, intent(IN) :: nisurf 1038 1041 integer, intent(IN) :: knon … … 1095 1098 real, dimension(klon):: qsurf 1096 1099 real, dimension(klon):: snow, qsol 1097 real, save :: date0 = 0.1098 1100 real, dimension(knon,2) :: albedo_out 1099 1101 ! Pb de nomenclature … … 1192 1194 ! 1193 1195 if (debut) then 1196 if (check) write(*,*) 'debut orchidee itime - 1', itime-1,date0 1194 1197 call intersurf_main (itime-1, iim, jjm+1 , knon, knindex, dtime, & 1195 1198 & lrestart_read, lrestart_write, lon_sc, lat_sc, & -
LMDZ.3.3/branches/rel-LF/libf/phylmd/physiq.F
r179 r205 94 94 ccc PARAMETER (soil_model=.FALSE.) 95 95 logical ok_veget 96 parameter (ok_veget = . false.)97 c parameter (ok_veget = . true.)96 parameter (ok_veget = .true.) 97 c parameter (ok_veget = .false.) 98 98 c====================================================================== 99 99 c Dans les versions precedentes, l'eau liquide nuageuse utilisee dans … … 118 118 c 119 119 LOGICAL ok_instan ! sortir le fichier instantane 120 PARAMETER (ok_instan=. true.)120 PARAMETER (ok_instan=.false.) 121 121 c 122 122 LOGICAL ok_region ! sortir le fichier regional … … 499 499 character*80 abort_message 500 500 logical ok_sync 501 501 real date0 502 502 503 503 c … … 1525 1525 c Verifier les temperatures 1526 1526 c 1527 1528 1527 CALL hgardfou(t_seri,ftsol,'debutphy') 1529 1528 c … … 1593 1592 1594 1593 fder = 0. 1595 1596 CALL clmain(dtime,itap,pctsrf, 1594 date0 = day_ini 1595 1596 CALL clmain(dtime,itap,date0,pctsrf, 1597 1597 e t_seri,q_seri,u_seri,v_seri, 1598 1598 e julien, rmu0, … … 1607 1607 s dsens, devap, 1608 1608 s ycoefh,yu1,yv1) 1609 1609 1610 c 1610 1611 C§§§ PB … … 1633 1634 c evap(i) = - fluxq(i,1) ! flux d'evaporation au sol 1634 1635 evap(i) = - zxfluxq(i,1) ! flux d'evaporation au sol 1636 C LF test signe flux 1637 sens(i) = zxfluxt(i,1) 1638 evap(i) = zxfluxq(i,1) 1635 1639 fder(i) = dsens(i) + devap(i) 1636 1640 ENDDO … … 1738 1742 CALL abort 1739 1743 ENDIF 1744 1740 1745 CALL homogene(paprs, q_seri, d_q_con, u_seri,v_seri, 1741 1746 . d_u_con, d_v_con) 1742 1747 DO k = 1, klev 1743 DO i = 1, klon1748 DO i = 1, klon 1744 1749 t_seri(i,k) = t_seri(i,k) + d_t_con(i,k) 1745 1750 q_seri(i,k) = q_seri(i,k) + d_q_con(i,k) 1746 1751 u_seri(i,k) = u_seri(i,k) + d_u_con(i,k) 1747 1752 v_seri(i,k) = v_seri(i,k) + d_v_con(i,k) 1748 ENDDO1753 ENDDO 1749 1754 ENDDO 1750 1755 IF (check) THEN -
LMDZ.3.3/branches/rel-LF/makegcm
r179 r205 77 77 #Force/couple 78 78 set COUPLE=0 79 set ocean=`grep '^ parameter (ocean' libf/phylmd/physiq.F | awk -F\' '{print $2}'`79 set ocean=`grep '^ parameter (ocean' $LMDGCM/libf/phylmd/physiq.F | awk -F\' '{print $2}'` 80 80 banner $ocean 81 81 if ($ocean == couple) then 82 82 set COUPLE=1 83 83 endif 84 85 84 #veget ou non 85 set veget=`grep '^ parameter (ok_veget' $LMDGCM/libf/phylmd/physiq.F | awk -F. '{print $2}'` 86 if ($veget == true) then 87 banner orchidee 88 endif 86 89 ######################################################################## 87 90 # Les differentes platformes reconnues
Note: See TracChangeset
for help on using the changeset viewer.