Ignore:
Timestamp:
10/20/17 09:31:39 (7 years ago)
Author:
aquiquet
Message:

Grisli-iLoveclim branch: merged to trunk at revision 145

Location:
branches/iLoveclim
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/iLoveclim

  • branches/iLoveclim/SOURCES/spinup_mod.f90

    r123 r146  
    102102case default 
    103103  print*,'type_vitbil valeur invalide dans spinup_vitbil' 
     104  stop 
    104105end select 
    105106 
     
    257258    ddbx(:,:)=0. 
    258259    ddby(:,:)=0. 
    259  
     260    gzmx(:,:)=.true. 
     261    gzmy(:,:)=.true. 
     262    flgzmx(:,:)=.false. 
     263    flgzmy(:,:)=.false. 
     264    fleuvemx(:,:)=.false. 
     265    fleuvemy(:,:)=.false. 
     266     
     267    do j=2,ny 
     268      do i=2,nx 
     269          if (flot(i,j).and.(flot(i-1,j))) then 
     270            flotmx(i,j)=.true. 
     271            flgzmx(i,j)=.true. 
     272            gzmx(i,j)=.false. 
     273          end if 
     274          if (flot(i,j).and.(flot(i,j-1))) then 
     275            flotmy(i,j)=.true. 
     276            flgzmy(i,j)=.true. 
     277            gzmy(i,j)=.false. 
     278          end if 
     279      end do 
     280    end do    
     281     
     282    where (coefmxbmelt(:,:).le.0.) 
     283      gzmx(:,:)=.false. 
     284    endwhere 
     285    where (coefmybmelt(:,:).le.0.) 
     286      gzmy(:,:)=.false. 
     287    endwhere 
     288    flgzmx(:,:) = flgzmx(:,:) .or. gzmx(:,:) 
     289    flgzmy(:,:) = flgzmy(:,:) .or. gzmy(:,:) 
     290    fleuvemx(:,:)=gzmx(:,:) 
     291    fleuvemy(:,:)=gzmy(:,:) 
     292     
    260293    if (itracebug.eq.1)  call tracebug(' Subroutine  calc_coef_vitbil') 
    261294    call slope_surf 
Note: See TracChangeset for help on using the changeset viewer.