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/Hudson_files/eaubasale-0.5_hudson_mod.f90

    r4 r237  
    139139        if (flot(i,j))then  ! points flottants 
    140140           klimit(i,j)=1 
    141            limit_hw(i,j)=(sealevel-Bsoc(i,j))*rowg/rofreshg 
     141           limit_hw(i,j)=(sealevel_2d(i,j)-Bsoc(i,j))*rowg/rofreshg 
    142142 
    143143        else if (IBASE(I,J).eq.1) then ! base froide 
     
    182182           pot_w(I,J)=pot_w(I,J)+rog*H(I,J) 
    183183 
    184            pot_f(I,J)=rowg*(sealevel-S(i,j)+H(I,J))  ! pression a la base de l'ice shelf 
     184           pot_f(I,J)=rowg*(sealevel_2d(i,j)-S(i,j)+H(I,J))  ! pression a la base de l'ice shelf 
    185185        enddo 
    186186     enddo 
     
    308308 
    309309              if (flot(i,j)) then  ! if flot > hwater=hwater in ocean  
    310                  hwater(i,j)= sealevel - bsoc(i,j) 
     310                 hwater(i,j)= sealevel_2d(i,j) - bsoc(i,j) 
    311311                 !             hwater(i,j)= max(0.,hwater(i,j)) 
    312312                 if (hwater(i,j).lt.0.) hwater(i,j)=0. 
     
    320320 
    321321              ! Attention le bloc suivant est pour le run 20  
    322               !           Zflot=row/ro*(sealevel-Bsoc(i,j))-10. 
     322              !           Zflot=row/ro*(sealevel_2d(i,j)-Bsoc(i,j))-10. 
    323323              Zflot=H(i,j)*rog/rofreshg 
    324324 
Note: See TracChangeset for help on using the changeset viewer.