Ignore:
Timestamp:
Jul 11, 2016, 9:35:35 AM (8 years ago)
Author:
emillour
Message:

All GCMs:
Further adaptations to keep up with changes in LMDZ5 concerning
physics/dynamics separation (up to rev r2500 of LMDZ5)

  • arch:
  • remove ifort debug option '-check all', replace it with '-check bounds,format,output_conversion,pointers,uninit' (i.e. get it to stop complaining about copying into temporary arrays)
  • dyn3d_common:
  • comconst_mod.F90 : add ngroup
  • dyn3d:
  • gcm.F90 : minor bug fix (arguments to a call_abort())
  • leapfrog.F90 : recompute geopotential for bilan_dyn outputs
  • conf_gcm.F90 : read "ngroup" from run.def
  • groupe.F , groupeun.F : ngroup no longer a local parameter
  • dyn3d_par:
  • conf_gcm.F90 : read "ngroup" from run.def
  • groupe_p.F , groupeun_p.F : ngroup no longer a local parameter
  • misc:
  • regr1_step_av_m.F90 : removed (not used)
  • phy_common:
  • mod_phys_lmdz_mpi_transfert.F90 , mod_phys_lmdz_mpi_data.F90 : change is_north_pole and is_south_pole to is_north_pole_dyn and is_south_pole_dyn
  • mod_phys_lmdz_omp_data.F90 : introduce is_nort_pole_phy and is_south_pole_phy
  • dynphy_lonlat:
  • mod_interface_dyn_phys.F90 : use is_north_pole_dyn and is_south_pole_dyn
  • calfis_p.F : use is_north_pole_dyn and is_south_pole_dyn
  • phyvenus:
  • physiq_mod , write_hist*.h : use is_north_pole_phy and is_south_pole_phy to correctly compute mesh area at poles to send to hist*nc files.
  • phytitan:
  • physiq_mod , write_hist*.h : use is_north_pole_phy and is_south_pole_phy to correctly compute mesh area at poles to send to hist*nc files.

EM

Location:
trunk/LMDZ.COMMON/libf/dyn3dpar
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/dyn3dpar/conf_gcm.F90

    r1441 r1572  
    2121  USE comconst_mod, ONLY: dissip_factz,dissip_deltaz,dissip_zref,               &
    2222                dissip_fac_mid,dissip_fac_up,dissip_hdelta,dissip_pupstart,     &
    23                 mode_top_bound,tau_top_bound,iflag_top_bound
     23                mode_top_bound,tau_top_bound,iflag_top_bound,ngroup
    2424  USE logic_mod, ONLY: tidal,purmats,ok_guide,read_start,iflag_phys,iflag_trac, &
    2525                ok_strato,ok_gradsfile,ok_limit,ok_etat0,moyzon_mu,moyzon_ch,   &
     
    428428  tetasponge=50000.0
    429429  call getin("tetasponge",tetasponge)
     430
     431! ngroup: to group longitudinaly near the pole (groupe/groupeun routines)
     432!        (implies that iim has to be a multiple of 2**ngroup)
     433  ngroup=3
     434  CALL getin('ngroup',ngroup)
    430435
    431436! FOR TITAN: tidal forces
  • trunk/LMDZ.COMMON/libf/dyn3dpar/groupe_p.F

    r1422 r1572  
    11      subroutine groupe_p(pext,pbaru,pbarv,pbarum,pbarvm,wm)
    22      USE parallel_lmdz
     3      USE comconst_mod, ONLY: ngroup
    34      implicit none
    45
     
    1819#include "comgeom2.h"
    1920
    20       integer ngroup
    21       parameter (ngroup=3)
     21!      integer ngroup
     22!      parameter (ngroup=3)
    2223
    2324
  • trunk/LMDZ.COMMON/libf/dyn3dpar/groupeun_p.F

    r1422 r1572  
    11      SUBROUTINE groupeun_p(jjmax,llmax,jjb,jje,q)
    22      USE parallel_lmdz
     3      USE comconst_mod, ONLY: ngroup
    34      USE Write_Field_p
    45      IMPLICIT NONE
     
    1112      REAL q(iip1,jjmax,llmax)
    1213
    13       INTEGER ngroup
    14       PARAMETER (ngroup=3)
     14!      INTEGER ngroup
     15!      PARAMETER (ngroup=3)
    1516
    1617      REAL airecn,qn
     
    3738      LOGICAL, SAVE :: first = .TRUE.
    3839!$OMP THREADPRIVATE(first)
    39       INTEGER,SAVE :: i_index(iim,ngroup)
     40!      INTEGER,SAVE :: i_index(iim,ngroup)
    4041      INTEGER      :: offset
    41       REAL         :: qsum(iim/ngroup)
     42!      REAL         :: qsum(iim/ngroup)
    4243
    4344      IF (first) THEN
     
    135136
    136137      USE parallel_lmdz
     138      USE comconst_mod, ONLY: ngroup
    137139      IMPLICIT NONE
    138140
     
    141143#include "comgeom2.h"
    142144
    143       INTEGER ngroup
    144       PARAMETER (ngroup=3)
     145!      INTEGER ngroup
     146!      PARAMETER (ngroup=3)
    145147
    146148      REAL airen,airecn
Note: See TracChangeset for help on using the changeset viewer.