Changeset 121


Ignore:
Timestamp:
06/27/17 14:31:50 (7 years ago)
Author:
dumas
Message:

Update steps_time_loop_avec_iterbeta | flottab : points without ice in ocean are flot=true

Location:
trunk/SOURCES
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SOURCES/flottab2-0.7.f90

    r119 r121  
    225225!cdc         H(i,j)=1. 
    226226!cdc  1m           H(i,j)=min(1.,max(0.,(sealevel - Bsoc(i,j))*row/ro-0.01)) 
     227             flot(i,j)=.true.  !cdc points ocean sont flot meme sans glace 
    227228             H(i,j)=0. 
    228229             S(i,j)=sealevel 
  • trunk/SOURCES/steps_time_loop_avec_iterbeta.f90

    r116 r121  
    2121  use sorties_ncdf_grisli 
    2222  use flottab_mod 
    23   use diagno_mod  
     23  use diagno_mod 
     24  use bilan_eau_mod 
    2425 
    2526 
     
    5859     call icethick3 
    5960 
     61     call flottab 
     62 
    6063     call calving 
    61  
     64      
     65     call ablation_bord 
     66      
     67     call bilan_eau 
     68     if (isynchro.eq.1) then 
     69         call shortoutput 
     70         diff_H = 0. 
     71         Bm_dtt(:,:) = 0. 
     72         bmelt_dtt(:,:) = 0. 
     73         calv_dtt(:,:)=0. 
     74         ablbord_dtt(:,:)=0. 
     75         diff_H_2D(:,:)=0. 
     76     endif 
     77         
     78     call flottab 
     79      
    6280     if (itracebug.eq.1)  call tracebug('apres calving') 
    6381 
     
    6583     where(.not.flot(:,:)) 
    6684        S(:,:)=Bsoc(:,:)+H(:,:) 
     85        S(:,:)=max(S(:,:),sealevel) 
    6786        B(:,:)=Bsoc(:,:) 
    6887     end where 
    69  
     88      
    7089     ! calcul de Hmx et Hmy -> shift=-1, dim=1 -> H(i-1,j) 
    7190 
     
    7493     hmx(1,:)=0. 
    7594     hmy(:,1)=0. 
    76      hmx(:,:) = max(hmx(:,:),0.) 
    77      hmy(:,:) = max(hmy(:,:),0.) 
    78  
    7995 
    8096     ! mise a 0 des vitesses quand epaisseur nulle 
     
    104120  !==================================================================== 
    105121 
    106   ! time outputs  (volume, extent, ...)  
    107   !------------------------------------------------------------------ 
    108   if ((mod(abs(TIME),NDISP*1.).lt.dtmin).or.(isynchro.eq.1).or.(nt.eq.1)) then 
    109  
    110      call shortoutput() 
    111  
    112   endif 
    113  
    114  
    115122  ! horizontal plan snapshots 
    116123  !------------------------------------------------------------------ 
     
    164171 
    165172  ! end of outputs 
    166   if (isynchro.eq.1) then 
    167                  diff_H = 0. 
    168                  Bm_dtt(:,:) = 0. 
    169                  bmelt_dtt(:,:) = 0. 
    170            calv_dtt(:,:)=0. 
    171                  ablbord_dtt(:,:)=0. 
    172                  diff_H_2D(:,:)=0. 
    173         endif    
    174   !=================================================================== 
    175  
    176173 
    177174  !==================================================================== 
Note: See TracChangeset for help on using the changeset viewer.