Changeset 2611 for LMDZ5/trunk/libf/phylmd/dyn1d/lmdz1d.F90
- Timestamp:
- Aug 3, 2016, 5:41:26 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/dyn1d/lmdz1d.F90
r2602 r2611 248 248 integer jcode 249 249 INTEGER read_climoz 250 ! 251 integer :: it_end ! iteration number of the last call 250 252 !Al1 251 253 integer ecrit_slab_oc !1=ecrit,-1=lit,0=no file 252 254 data ecrit_slab_oc/-1/ 255 ! 256 ! if flag_inhib_forcing = 0, tendencies of forcing are added 257 ! <> 0, tendencies of forcing are not added 258 INTEGER :: flag_inhib_forcing = 0 253 259 254 260 !===================================================================== … … 747 753 pbl_tke(:,2,:)=1.e-2 748 754 PRINT *, ' pbl_tke dans lmdz1d ' 749 DO nsrf = 1,4 750 PRINT *,'pbl_tke(1,:,',nsrf,') ',pbl_tke(1,:,nsrf) 751 ENDDO 755 if (prt_level .ge. 5) then 756 DO nsrf = 1,4 757 PRINT *,'pbl_tke(1,:,',nsrf,') ',pbl_tke(1,:,nsrf) 758 ENDDO 759 end if 752 760 753 761 !>jyg … … 900 908 !===================================================================== 901 909 902 do while(it.le.nint(fnday*day_step)) 910 it_end = nint(fnday*day_step) 911 !test JLD it_end = 10 912 do while(it.le.it_end) 903 913 904 914 if (prt_level.ge.1) then 905 915 print*,'XXXXXXXXXXXXXXXXXXX ITAP,day,time=', & 906 & it,day,time, nint(fnday*day_step),day_step916 & it,day,time,it_end,day_step 907 917 print*,'PAS DE TEMPS ',timestep 908 918 endif 909 919 !Al1 demande de restartphy.nc 910 if (it.eq. nint(fnday*day_step)) lastcall=.True.920 if (it.eq.it_end) lastcall=.True. 911 921 912 922 !--------------------------------------------------------------------- … … 938 948 write(*,*) 'firstcall,lastcall,phis', & 939 949 & firstcall,lastcall,phis 950 end if 951 if (prt_level>=5) then 940 952 write(*,'(a10,2a4,4a13)') 'BEFOR1 IT=','it','l', & 941 953 & 'presniv','plev','play','phi' … … 959 971 960 972 !--------------------------------------------------------------------- 961 ! Listing output for debug prt_level>=1962 !--------------------------------------------------------------------- 963 if (prt_level>= 1) then973 ! Listing output for debug 974 !--------------------------------------------------------------------- 975 if (prt_level>=5) then 964 976 write(*,'(a11,2a4,4a13)') 'AFTER1 IT=','it','l', & 965 977 & 'presniv','plev','play','phi' … … 998 1010 endif 999 1011 1000 IF (prt_level >= 1) print*, 'fcoriolis, xlat,mxcalc ', &1012 IF (prt_level >= 5) print*, 'fcoriolis, xlat,mxcalc ', & 1001 1013 fcoriolis, xlat,mxcalc 1002 1014 … … 1048 1060 !! Increment state variables 1049 1061 !!!!!!!!!!!!!!!!!!!!!!!!!!!!! 1062 IF (flag_inhib_forcing == 0) then ! if tendency of forcings should be added 1063 1050 1064 ! pour les cas sandu et astex, on reclacule u,v,q,temp et teta dans 1D_nudge_sandu_astex.h 1051 1065 ! au dessus de 700hpa, on relaxe vers les profils initiaux … … 1066 1080 & +d_q_nudge(1:mxcalc,:) ) 1067 1081 1068 if (prt_level.ge. 1) then1082 if (prt_level.ge.3) then 1069 1083 print *, & 1070 1084 & 'physiq-> temp(1),dt_phys(1),d_th_adv(1),dt_cooling(1) ', & … … 1113 1127 !cc q(1:mxcalc,2)=tmpvar(1:mxcalc) 1114 1128 1129 END IF ! end if tendency of tendency should be added 1130 1115 1131 !--------------------------------------------------------------------- 1116 1132 ! Air temperature :
Note: See TracChangeset
for help on using the changeset viewer.