Changeset 504


Ignore:
Timestamp:
05/31/24 14:33:03 (4 weeks ago)
Author:
aquiquet
Message:

Cleaning branch: remove unused cote variable

Location:
branches/GRISLIv3/SOURCES/Draggings_modules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/GRISLIv3/SOURCES/Draggings_modules/dragging_param_beta_mod.f90

    r470 r504  
    2828 
    2929  implicit none 
    30  
    31   logical,dimension(nx,ny) :: cote 
    3230 
    3331  real,dimension(nx,ny) :: beta_param ! local variable 
     
    213211    fleuvemx(:,:)=.false. 
    214212    fleuvemy(:,:)=.false. 
    215     cote(:,:)=.false. 
    216213    gzmx(:,:)=.true. 
    217214    gzmy(:,:)=.true. 
     
    219216    flgzmy(:,:)=.false. 
    220217    !$OMP END WORKSHARE 
    221  
    222     ! detection des cotes 
    223     !$OMP DO 
    224     do  j=2,ny-1 
    225        do i=2,nx-1 
    226           if ((.not.flot(i,j)).and. & 
    227                ((flot(i+1,j)).or.(flot(i,j+1)).or.(flot(i-1,j)).or.(flot(i,j-1)))) then 
    228              cote(i,j)=.true. 
    229           endif 
    230        end do 
    231     end do 
    232     !$OMP END DO 
    233218 
    234219 
  • branches/GRISLIv3/SOURCES/Draggings_modules/dragging_param_beta_sedim_mod.f90

    r470 r504  
    2828 
    2929  implicit none 
    30  
    31   logical,dimension(nx,ny) :: cote 
    3230 
    3331  real,dimension(nx,ny) :: beta_param ! local variable 
     
    252250    fleuvemx(:,:)=.false. 
    253251    fleuvemy(:,:)=.false. 
    254     cote(:,:)=.false. 
    255252    gzmx(:,:)=.true. 
    256253    gzmy(:,:)=.true. 
     
    258255    flgzmy(:,:)=.false. 
    259256    !$OMP END WORKSHARE 
    260  
    261     ! detection des cotes 
    262     !$OMP DO 
    263     do  j=2,ny-1 
    264        do i=2,nx-1 
    265           if ((.not.flot(i,j)).and. & 
    266                ((flot(i+1,j)).or.(flot(i,j+1)).or.(flot(i-1,j)).or.(flot(i,j-1)))) then 
    267              cote(i,j)=.true. 
    268           endif 
    269        end do 
    270     end do 
    271     !$OMP END DO 
    272257 
    273258 
Note: See TracChangeset for help on using the changeset viewer.