Ignore:
Timestamp:
Jul 24, 2016, 11:51:55 AM (8 years ago)
Author:
Ehouarn Millour
Message:

Cleanup in the dynamics: turn temps.h into module temps_mod.F90
EM

File:
1 edited

Legend:

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

    r2600 r2601  
    2222#endif
    2323  USE comconst_mod, ONLY: cpp, daysec, dtphys, dtvr, g, r, rad
     24  USE temps_mod, ONLY: calend,start_time,annee_ref,day_ref, &
     25                       itau_dyn,itau_phy,day_ini,jD_ref,jH_ref,day_end, &
     26                       dt,hour_ini,itaufin
     27
    2428  IMPLICIT NONE
    2529
     
    5862  include "comgeom.h"
    5963  include "logic.h"
    60   include "temps.h"
    6164  include "ener.h"
    6265  include "description.h"
     
    449452  !       write(78,*) 'q',q
    450453
    451   !$OMP PARALLEL DEFAULT(SHARED) COPYIN(/temps/,/logici/,/logicl/)
     454  !!$OMP PARALLEL DEFAULT(SHARED) COPYIN(/temps/,/logici/,/logicl/)
     455  !$OMP PARALLEL DEFAULT(SHARED) COPYIN(/logici/,/logicl/) &
     456  !     Copy all threadprivate variables in temps_mod
     457  !$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)
    452459  CALL leapfrog_loc(ucov,vcov,teta,ps,masse,phis,q,time_0)
    453460  !$OMP END PARALLEL
Note: See TracChangeset for help on using the changeset viewer.