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

Location:
LMDZ5/trunk/libf/dynphy_lonlat
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/dynphy_lonlat/calfis.F

    r2600 r2601  
    9393      include "dimensions.h"
    9494      include "paramet.h"
    95       include "temps.h"
    9695
    9796      INTEGER ngridmx
  • LMDZ5/trunk/libf/dynphy_lonlat/calfis_loc.F

    r2600 r2601  
    111111      include "dimensions.h"
    112112      include "paramet.h"
    113       include "temps.h"
    114113
    115114      INTEGER ngridmx
  • LMDZ5/trunk/libf/dynphy_lonlat/calfis_p.F

    r2600 r2601  
    107107#include "dimensions.h"
    108108#include "paramet.h"
    109 #include "temps.h"
    110109
    111110      INTEGER ngridmx
  • LMDZ5/trunk/libf/dynphy_lonlat/phylmd/ce0l.F90

    r2600 r2601  
    3737                          pi, jmp1
    3838  USE comvert_mod, ONLY: pa, preff, pressure_exner
     39  USE temps_mod, ONLY: calend, day_ini, dt
    3940
    4041  IMPLICIT NONE
     
    4647  include "comgeom2.h"
    4748  include "iniprint.h"
    48   include "temps.h"
    4949  include "logic.h"
    5050  REAL               :: masque(iip1,jjp1)             !--- CONTINENTAL MASK
  • LMDZ5/trunk/libf/dynphy_lonlat/phylmd/etat0dyn_netcdf.F90

    r2600 r2601  
    3838  USE comconst_mod, ONLY: pi, cpp, kappa
    3939  USE comvert_mod, ONLY: ap, bp, preff, pressure_exner
     40  USE temps_mod, ONLY: annee_ref, day_ref, itau_dyn, itau_phy
     41 
    4042  IMPLICIT NONE
    4143
     
    4749  include "paramet.h"
    4850  include "comgeom2.h"
    49   include "temps.h"
    5051  include "comdissnew.h"
    5152  REAL, SAVE :: deg2rad
  • LMDZ5/trunk/libf/dynphy_lonlat/phylmd/etat0phys_netcdf.F90

    r2597 r2601  
    5454  include "comgeom2.h"
    5555  include "dimsoil.h"
    56   include "temps.h"
    5756  include "clesphys.h"
    5857  REAL, SAVE :: deg2rad
  • LMDZ5/trunk/libf/dynphy_lonlat/phylmd/iniphysiq_mod.F90

    r2600 r2601  
    3232  USE inifis_mod, ONLY: inifis
    3333  USE time_phylmdz_mod, ONLY: init_time
     34  USE temps_mod, ONLY: annee_ref, day_ini, day_ref, start_time
    3435  USE infotrac_phy, ONLY: init_infotrac_phy
    3536  USE phystokenc_mod, ONLY: init_phystokenc
     
    5253  include "dimensions.h"
    5354  include "iniprint.h"
    54   include "temps.h"
    5555  include "tracstoke.h"
    5656
     
    9898  ! --> now initialize things specific to the phylmd physics package
    9999 
    100 !$OMP PARALLEL DEFAULT(SHARED) COPYIN(/temps/)
     100!!$OMP PARALLEL DEFAULT(SHARED) COPYIN(/temps/)
     101!$OMP PARALLEL DEFAULT(SHARED) &
     102!       Copy all threadprivate variables in temps_mod
     103!$OMP COPYIN(annee_ref, day_ini, day_ref, start_time)
    101104
    102105  ! copy over preff , ap(), bp(), etc
     
    144147#endif
    145148  END IF
    146 !$OMP PARALLEL DEFAULT(SHARED) COPYIN(/temps/)
    147149
     150!!$OMP PARALLEL DEFAULT(SHARED) COPYIN(/temps/)
     151!$OMP PARALLEL DEFAULT(SHARED)
    148152  ! Additional initializations for aquaplanets
    149153  IF (iflag_phys>=100) THEN
Note: See TracChangeset for help on using the changeset viewer.