Changeset 1456 for LMDZ5/branches/LMDZ5V2.0-dev/libf/phylmd/phyetat0.F
- Timestamp:
- Nov 22, 2010, 2:16:44 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/LMDZ5V2.0-dev/libf/phylmd/phyetat0.F
r1454 r1456 21 21 USE infotrac 22 22 USE traclmdz_mod, ONLY : traclmdz_from_restart 23 USE carbon_cycle_mod,ONLY : 24 & carbon_cycle_tr, carbon_cycle_cpl, co2_send 23 USE carbon_cycle_mod,ONLY : carbon_cycle_tr, carbon_cycle_cpl 25 24 26 25 IMPLICIT none … … 134 133 135 134 136 clesphy0(1)=tab_cntrl( 5 ) 137 clesphy0(2)=tab_cntrl( 6 ) 138 clesphy0(3)=tab_cntrl( 7 ) 139 clesphy0(4)=tab_cntrl( 8 ) 140 clesphy0(5)=tab_cntrl( 9 ) 141 clesphy0(6)=tab_cntrl( 10 ) 142 clesphy0(7)=tab_cntrl( 11 ) 143 clesphy0(8)=tab_cntrl( 12 ) 135 136 IF( clesphy0(1).NE.tab_cntrl( 5 ) ) THEN 137 clesphy0(1)=tab_cntrl( 5 ) 138 ENDIF 139 140 IF( clesphy0(2).NE.tab_cntrl( 6 ) ) THEN 141 clesphy0(2)=tab_cntrl( 6 ) 142 ENDIF 143 144 IF( clesphy0(3).NE.tab_cntrl( 7 ) ) THEN 145 clesphy0(3)=tab_cntrl( 7 ) 146 ENDIF 147 148 IF( clesphy0(4).NE.tab_cntrl( 8 ) ) THEN 149 clesphy0(4)=tab_cntrl( 8 ) 150 ENDIF 151 152 IF( clesphy0(5).NE.tab_cntrl( 9 ) ) THEN 153 clesphy0(5)=tab_cntrl( 9 ) 154 ENDIF 155 156 IF( clesphy0(6).NE.tab_cntrl( 10 ) ) THEN 157 clesphy0(6)=tab_cntrl( 10 ) 158 ENDIF 159 160 IF( clesphy0(7).NE.tab_cntrl( 11 ) ) THEN 161 clesphy0(7)=tab_cntrl( 11 ) 162 ENDIF 163 164 IF( clesphy0(8).NE.tab_cntrl( 12 ) ) THEN 165 clesphy0(8)=tab_cntrl( 12 ) 166 ENDIF 167 144 168 145 169 c … … 817 841 ENDIF 818 842 WRITE(str2,'(i2.2)') nsrf 819 CALL get_field("TKE"//str2,pbl_tke(:,1:klev ,nsrf),found)843 CALL get_field("TKE"//str2,pbl_tke(:,1:klev+1,nsrf),found) 820 844 IF (.NOT. found) THEN 821 845 PRINT*, "phyetat0: <TKE"//str2//"> est absent" … … 824 848 xmin = 1.0E+20 825 849 xmax = -1.0E+20 826 DO k = 1, klev 850 DO k = 1, klev+1 827 851 DO i = 1, klon 828 852 xmin = MIN(pbl_tke(i,k,nsrf),xmin) … … 1054 1078 1055 1079 END DO 1080 1056 1081 CALL traclmdz_from_restart(trs) 1057 1058 IF (carbon_cycle_cpl) THEN1059 ALLOCATE(co2_send(klon), stat=ierr)1060 IF (ierr /= 0) CALL abort_gcm1061 & ('phyetat0','pb allocation co2_send',1)1062 CALL get_field("co2_send",co2_send,found)1063 IF (.NOT. found) THEN1064 PRINT*,"phyetat0: Le champ <co2_send> est absent"1065 PRINT*,"Initialisation uniforme a co2_ppm=",co2_ppm1066 co2_send(:) = co2_ppm1067 END IF1068 END IF1069 1082 END IF 1070 1083
Note: See TracChangeset
for help on using the changeset viewer.