Changeset 463 for branches


Ignore:
Timestamp:
01/19/24 16:51:39 (4 months ago)
Author:
aquiquet
Message:

Cleaning branch: masque subroutine with explicit arguments

Location:
branches/GRISLIv3/SOURCES
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/GRISLIv3/SOURCES/main3D-0.4-40km.f90

    r450 r463  
    133133  USE module3D_phy, only: itemp,icouple,isynchro,imargin,icompteur,iglen,timecg,marine,num_sealevel, & 
    134134                          num_ts_ritz,num_ic_vo,num_ic_by,num_ic_dm,num_ic_dc,num_ic_df, & 
    135                           s,h,b,bsoc,flot,uxbar,uybar,hwater,time,timemax,boost,ndebug,ndebug_max 
     135                          s,h,b,bsoc,flot,mk,mk0,uxbar,uybar,hwater,time,timemax,boost,ndebug,ndebug_max 
    136136  use runparam, only: nt,tbegin,tgrounded,dtprofile,dtcpt,dirnameout,runname,itracebug 
    137137  use geography, only: nx,ny,geoplace 
     
    255255 
    256256        if ((ITEMP.eq.0).or.(ITEMP.eq.3)) then 
    257            call masque() 
     257           call masque(flot,mk,mk0,itracebug) 
    258258 
    259259           call Neffect() 
     
    298298 
    299299 
    300      call masque() 
     300     call masque(flot,mk,mk0,itracebug) 
    301301     call flottab() 
    302302     call neffect() 
    303303     call flottab() 
    304      call masque() 
     304     call masque(flot,mk,mk0,itracebug) 
    305305 
    306306     do i=1,nx 
  • branches/GRISLIv3/SOURCES/masque.f90

    r415 r463  
    1313 
    1414! version juillet 2009 
    15 subroutine masque 
    16    
    17   use geography, only:nx,ny 
    18   use module3D_phy, only:flot,mk,mk0 
    19   use runparam, only: itracebug 
    20    
     15subroutine masque(flot,mk,mk0,itracebug) 
     16 
    2117  implicit none 
     18 
     19  logical,dimension(:,:),intent(in)    :: flot 
     20  integer,dimension(:,:),intent(in)    :: mk0 
     21  integer,               intent(in)    :: itracebug 
     22  integer,dimension(:,:),intent(inout) :: mk 
    2223 
    2324  if (itracebug.eq.1)  call tracebug(' Entree dans masque') 
  • branches/GRISLIv3/SOURCES/steps_time_loop.f90

    r433 r463  
    167167   
    168168  use module3d_phy, only: ispinup,isynchro,timemax,time,marine,iglen,shelfy,icompteur,& 
    169        test_iter_diag,inv_beta,dtmin 
     169       test_iter_diag,inv_beta,dtmin,flot,mk,mk0 
    170170  use runparam, only: itracebug,nt,num_tracebug 
    171171  use geography, only: geoplace 
     
    211211  ! update the regions (floating, ice ...) 
    212212  !------------------------------------------- 
    213   call masque 
     213  call masque(flot,mk,mk0,itracebug) 
    214214 
    215215 
Note: See TracChangeset for help on using the changeset viewer.