Changeset 63


Ignore:
Timestamp:
05/17/16 17:10:23 (8 years ago)
Author:
aquiquet
Message:

Function of slope for betamax in dragging_neff_slope

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SOURCES/dragging_neff_slope_mod.f90

    r59 r63  
    127127! from slopes, we create an index between 0 & 1 
    128128! 1 is very mountainous, 0 is flat 
    129 hires_slope(:,:)=(max(min(hires_slope(:,:),2000.),500.)-500.)/1500. 
     129hires_slope(:,:)=(max(min(hires_slope(:,:),5000.),500.)-500.)/4500. 
    130130! now we compute the actual betamax used by the remplimat routines 
    131131! /!\ the slope is used to modify the beta where we have a temperate base, 
    132132! but NO ice stream... -> Slow SSA zone (SSA used to compute Ub) 
    133 betamax_2d(:,:)=max ( tostick * (1. - (1 - betamax / tostick ) * hires_slope(:,:)) , betamax ) 
     133betamax_2d(:,:)=max ( tostick * (1. - (1 - betamax / tostick ) * hires_slope(:,:)**(1/10.)) , betamax ) 
    134134do j=1,ny 
    135135   do i=1,nx 
     
    328328            if (cf*neffmx(i,j).gt.betamax*2.) then  ! a stream that's becoming grounded... 
    329329               if (slowssamx(i,j)) then 
    330                    
     330                  betamx(i,j)=betamax_2d(i,j) 
    331331               else 
    332332                  gzmx(i,j)=.false. 
    333                   betamx(i,j)=betamax_2d(i,j) !tostick 
     333                  betamx(i,j)=tostick 
    334334               endif 
    335335            endif 
     
    345345         betamx(i,j)=0. 
    346346      else                                         ! grounded, SIA 
    347          betamx(i,j)=betamax_2d(i,j) !tostick                       ! frottement glace posee (1 bar) 
     347         betamx(i,j)=tostick                       ! frottement glace posee (1 bar) 
    348348      endif 
    349349 
     
    373373            if (cf*neffmy(i,j).gt.betamax*2.) then  ! a stream that's becoming grounded... 
    374374               if (slowssamy(i,j)) then 
    375                    
     375                  betamy(i,j)=betamax_2d(i,j) 
    376376               else 
    377377                  gzmy(i,j)=.false. 
    378                   betamy(i,j)=betamax_2d(i,j) !tostick 
     378                  betamy(i,j)=tostick 
    379379               endif 
    380380            endif 
     
    390390         betamy(i,j)=0. 
    391391      else                                         ! grounded, SIA 
    392          betamy(i,j)=betamax_2d(i,j) !tostick                       ! frottement glace posee (1 bar) 
     392         betamy(i,j)=tostick                       ! frottement glace posee (1 bar) 
    393393      endif 
    394394 
Note: See TracChangeset for help on using the changeset viewer.