Ignore:
Timestamp:
01/09/19 17:09:26 (6 years ago)
Author:
aquiquet
Message:

Sealevel is now treated as a 2D variable (sealevel_2d while sealevel remains the eustatic sea level), results should remain identical as sealevel_2d is equal to sealevel in this revision.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SOURCES/Heino_files/flottab2-0.5-heino.f90

    r4 r237  
    135135      uys1(i,j)=uybar(i,j) 
    136136 
    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) 
    138138  
    139139arch: if ((ARCHIM.LT.0.).and.(H(I,J).gt.1.E-3)) then    ! le point flotte 
     
    146146             if (igrdline.eq.1) then   ! en cas de grounding line prescrite 
    147147                flot(i,j)=.false. 
    148                 H(i,j)=(10.+sealevel-Bsoc(i,j))*row/ro  ! pour avoir archim=10 
     148                H(i,j)=(10.+sealevel_2d(i,j)-Bsoc(i,j))*row/ro  ! pour avoir archim=10 
    149149                new_flot_point(i,j)=.false. 
    150150             endif 
     
    162162                if (igrdline.eq.1) then   ! en cas de grounding line prescrite 
    163163                    flot(i,j)=.false. 
    164                     H(i,j)=(10.+sealevel-Bsoc(i,j))*row/ro  ! pour avoir archim=10 
     164                    H(i,j)=(10.+sealevel_2d(i,j)-Bsoc(i,j))*row/ro  ! pour avoir archim=10 
    165165                   new_flot_point(i,j)=.false. 
    166166               endif 
     
    184184 
    185185                surnet=H(i,j)*(1.-ro/row) 
    186                 S(i,j)=surnet+sealevel 
     186                S(i,j)=surnet+sealevel_2d(i,j) 
    187187                B(i,j)=S(i,j)-H(i,j) 
    188188             end if 
     
    234234!                 sur le demi noeud condition archim > 100 m 
    235235 
    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) 
    237237             gzmx(i,j)=gzmx(i,j).and.(archim.le.100.)  
    238238 
     
    301301!                 sur le demi noeud condition archim > 100 m 
    302302 
    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) 
    304304             gzmy(i,j)=gzmy(i,j).and.(archim.le.100.)  
    305305 
     
    554554!!!!!!!!!                      on teste si la tache n'est pas completement ice stream 
    555555      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? 
    557557              DO II=3,NX-2 
    558558                DO JJ=3,NY-2 
Note: See TracChangeset for help on using the changeset viewer.