Ignore:
Timestamp:
Jul 25, 2016, 11:31:56 AM (8 years ago)
Author:
Ehouarn Millour
Message:

Cleanup in the dynamics: turn logic.h into module logic_mod.F90
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/dyn3dmem/gcm.F90

    r2601 r2603  
    2222#endif
    2323  USE comconst_mod, ONLY: cpp, daysec, dtphys, dtvr, g, r, rad
     24  USE logic_mod ! all of it, because of copyin clause when calling leapfrog
    2425  USE temps_mod, ONLY: calend,start_time,annee_ref,day_ref, &
    2526                       itau_dyn,itau_phy,day_ini,jD_ref,jH_ref,day_end, &
     
    6162  include "comdissnew.h"
    6263  include "comgeom.h"
    63   include "logic.h"
    6464  include "ener.h"
    6565  include "description.h"
     
    453453
    454454  !!$OMP PARALLEL DEFAULT(SHARED) COPYIN(/temps/,/logici/,/logicl/)
    455   !$OMP PARALLEL DEFAULT(SHARED) COPYIN(/logici/,/logicl/) &
     455  !$OMP PARALLEL DEFAULT(SHARED) &
    456456  !     Copy all threadprivate variables in temps_mod
    457457  !$OMP COPYIN(dt,jD_ref,jH_ref,start_time,hour_ini,day_ini,day_end) &
    458   !$OMP COPYIN(annee_ref,day_ref,itau_dyn,itau_phy,itaufin,calend)
     458  !$OMP COPYIN(annee_ref,day_ref,itau_dyn,itau_phy,itaufin,calend) &
     459  !     Copy all threadprivate variables from logic_mod
     460  !$OMP COPYIN(purmats,forward,leapf,apphys,statcl,conser,apdiss,apdelq) &
     461  !$OMP COPYIN(saison,ecripar,fxyhypb,ysinus,read_start,ok_guide) &
     462  !$OMP COPYIN(ok_strato,ok_gradsfile,ok_limit,ok_etat0) &
     463  !$OMP COPYIN(iflag_phys,iflag_trac)
    459464  CALL leapfrog_loc(ucov,vcov,teta,ps,masse,phis,q,time_0)
    460465  !$OMP END PARALLEL
Note: See TracChangeset for help on using the changeset viewer.