Changeset 237 for trunk/SOURCES/Heino_files/flottab2-0.5-heino.f90
- Timestamp:
- 01/09/19 17:09:26 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SOURCES/Heino_files/flottab2-0.5-heino.f90
r4 r237 135 135 uys1(i,j)=uybar(i,j) 136 136 137 archim = Bsoc(i,j)+H(i,j)*ro/row -sealevel 137 archim = Bsoc(i,j)+H(i,j)*ro/row -sealevel_2d(i,j) 138 138 139 139 arch: if ((ARCHIM.LT.0.).and.(H(I,J).gt.1.E-3)) then ! le point flotte … … 146 146 if (igrdline.eq.1) then ! en cas de grounding line prescrite 147 147 flot(i,j)=.false. 148 H(i,j)=(10.+sealevel -Bsoc(i,j))*row/ro ! pour avoir archim=10148 H(i,j)=(10.+sealevel_2d(i,j)-Bsoc(i,j))*row/ro ! pour avoir archim=10 149 149 new_flot_point(i,j)=.false. 150 150 endif … … 162 162 if (igrdline.eq.1) then ! en cas de grounding line prescrite 163 163 flot(i,j)=.false. 164 H(i,j)=(10.+sealevel -Bsoc(i,j))*row/ro ! pour avoir archim=10164 H(i,j)=(10.+sealevel_2d(i,j)-Bsoc(i,j))*row/ro ! pour avoir archim=10 165 165 new_flot_point(i,j)=.false. 166 166 endif … … 184 184 185 185 surnet=H(i,j)*(1.-ro/row) 186 S(i,j)=surnet+sealevel 186 S(i,j)=surnet+sealevel_2d(i,j) 187 187 B(i,j)=S(i,j)-H(i,j) 188 188 end if … … 234 234 ! sur le demi noeud condition archim > 100 m 235 235 236 archim=(Bsoc(i,j)+Bsoc(i-1,j))*0.5-sealevel +ro/row*Hmx(i,j)236 archim=(Bsoc(i,j)+Bsoc(i-1,j))*0.5-sealevel_2d(i,j)+ro/row*Hmx(i,j) 237 237 gzmx(i,j)=gzmx(i,j).and.(archim.le.100.) 238 238 … … 301 301 ! sur le demi noeud condition archim > 100 m 302 302 303 archim=(Bsoc(i,j)+Bsoc(i,j-1))*0.5-sealevel +ro/row*Hmy(i,j)303 archim=(Bsoc(i,j)+Bsoc(i,j-1))*0.5-sealevel_2d(i,j)+ro/row*Hmy(i,j) 304 304 gzmy(i,j)=gzmy(i,j).and.(archim.le.100.) 305 305 … … 554 554 !!!!!!!!! on teste si la tache n'est pas completement ice stream 555 555 if (icetrim(table_out(i,j))) THEN ! on a une ile d'ice stream !!!! TEST2 556 smax_i=0 ; smax_j=0 ; smax_=sealevel 556 smax_i=0 ; smax_j=0 ; smax_=sealevel !afq -- warning: what about local sealevel? 557 557 DO II=3,NX-2 558 558 DO JJ=3,NY-2
Note: See TracChangeset
for help on using the changeset viewer.