Changeset 84
- Timestamp:
- 07/13/16 09:59:57 (8 years ago)
- Location:
- trunk/SOURCES
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SOURCES/Greeneem_files/dragging_neem_mod.f90
r4 r84 31 31 32 32 implicit none 33 logical,dimension(nx,ny) :: fleuvemx !< fleuves sont les tableaux courants (dep. time)34 logical,dimension(nx,ny) :: fleuvemy33 !logical,dimension(nx,ny) :: fleuvemx !< fleuves sont les tableaux courants (dep. time) 34 !logical,dimension(nx,ny) :: fleuvemy 35 35 logical,dimension(nx,ny) :: fleuve 36 36 logical,dimension(nx,ny) :: cote -
trunk/SOURCES/dragging_neff_slope_mod.f90
r76 r84 228 228 229 229 230 !!$231 !!$fleuve_maj: do j=2,ny-1232 !!$ifleuve: do i=2,nx-1233 !!$234 !!$cote_detect : if (cote(i,j)) then235 !!$ idep=i236 !!$ jdep=j237 !!$238 !!$ if (socle_cry(i,j).lt.0.) then ! dans une vallee239 !!$ fleuve(i,j)=.true.240 !!$ else241 !!$ cote(i,j)=.false.242 !!$ cycle ifleuve243 !!$ endif244 !!$245 !!$suit : do l=1,lmax ! debut de la boucle de suivi, lmax longueur maxi des fleuves246 !!$ i_moins1=max(idep-1,2)247 !!$ j_moins1=max(jdep-1,1)248 !!$ i_plus1=min(idep+1,nx)249 !!$ j_plus1=min(jdep+1,ny)250 !!$251 !!$! recherche du max en suivant le socle le plus profond252 !!$! * en excluant les points flottants253 !!$! * et ceux qui sont deja tagges fleuves254 !!$255 !!$ valmax=1000.256 !!$257 !!$ do jloc=j_moins1,j_plus1258 !!$ do iloc=i_moins1,i_plus1259 !!$260 !!$ if ((B(iloc,jloc).lt.valmax) &261 !!$ .and.(.not.flot(iloc,jloc)) &262 !!$ .and.(.not.fleuve(iloc,jloc)).and.(socle_cry(iloc,jloc).lt.cry_lim)) then263 !!$ imax=iloc264 !!$ jmax=jloc265 !!$ valmax=B(iloc,jloc)266 !!$ endif267 !!$ end do268 !!$ end do269 !!$270 !!$ if ((hwater(imax,jmax).gt.hwatstream).and.(socle_cry(i,j).lt.cry_lim)) then271 !!$ fleuve(imax,jmax)=.true.272 !!$ idep=imax273 !!$ jdep=jmax274 !!$ else275 !!$ fleuve(imax,jmax)=.false.276 !!$ exit suit277 !!$ end if278 !!$279 !!$ end do suit280 !!$281 !!$ end if cote_detect282 !!$283 !!$end do ifleuve284 !!$end do fleuve_maj285 286 230 ! aurel, we add the neff threshold: 287 231 where ((neff(:,:).le.seuil_neff).and.(.not.flot(:,:)).and.(H(:,:).gt.1.)) fleuve(:,:)=.true. … … 311 255 do i=1,nx 312 256 !if ((not(flot(i,j))).and.(hwater(i,j).gt.0.1)) slowssa(i,j)=.true. 313 if (( not(flot(i,j))).and.(ibase(i,j).ne.1).and.(H(i,j).gt.1.)) slowssa(i,j)=.true.257 if ((.not.(flot(i,j))).and.(ibase(i,j).ne.1).and.(H(i,j).gt.1.)) slowssa(i,j)=.true. 314 258 end do 315 259 end do
Note: See TracChangeset
for help on using the changeset viewer.