Ignore:
Timestamp:
Dec 14, 2015, 11:43:09 AM (9 years ago)
Author:
Laurent Fairhead
Message:

Merged trunk changes r2298:2396 into testing branch

Location:
LMDZ5/branches/testing
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/branches/testing

  • LMDZ5/branches/testing/libf/dyn3dmem/gcm.F90

    r2298 r2408  
    1010  USE parallel_lmdz
    1111  USE infotrac
    12 #ifdef CPP_PHYS
    13   USE mod_interface_dyn_phys, ONLY: init_interface_dyn_phys
    14 #endif
     12!#ifdef CPP_PHYS
     13!  USE mod_interface_dyn_phys, ONLY: init_interface_dyn_phys
     14!#endif
    1515  USE mod_hallo
    1616  USE Bands
     
    1818  USE control_mod
    1919
    20 #ifdef INCA
    21   ! Only INCA needs these informations (from the Earth's physics)
    22   USE indice_sol_mod
    23   USE mod_phys_lmdz_omp_data, ONLY: klon_omp
    24 #endif
    25 
    2620#ifdef CPP_PHYS
    27   !      USE mod_grid_phy_lmdz
    28   !      USE mod_phys_lmdz_para, ONLY : klon_mpi_para_nb
    29   !      USE dimphy
    30   !      USE comgeomphy
     21  USE iniphysiq_mod, ONLY: iniphysiq
    3122#endif
    3223  IMPLICIT NONE
     
    7667  include "tracstoke.h"
    7768
    78 #ifdef INCA
    79   ! Only INCA needs these informations (from the Earth's physics)
    80   !include "indicesol.h"
    81 #endif
    8269
    8370  REAL zdtvr
     
    155142  call Read_Distrib
    156143
    157 #ifdef CPP_PHYS
    158   CALL Init_Phys_lmdz(iim,jjp1,llm,mpi_size,distrib_phys)
     144!#ifdef CPP_PHYS
     145!  CALL Init_Phys_lmdz(iim,jjp1,llm,mpi_size,distrib_phys)
    159146  !#endif
    160147  !      CALL set_bands
    161148  !#ifdef CPP_PHYS
    162   CALL Init_interface_dyn_phys
    163 #endif
     149!  CALL Init_interface_dyn_phys
     150!#endif
    164151  CALL barrier
    165152
     
    200187#endif
    201188
    202   IF (type_trac == 'inca') THEN
    203 #ifdef INCA
    204      call init_const_lmdz( &
    205           nbtr,anneeref,dayref, &
    206           iphysiq,day_step,nday,  &
    207           nbsrf, is_oce,is_sic, &
    208           is_ter,is_lic, calend)
    209 
    210      call init_inca_para( &
    211           iim,jjm+1,llm,klon_glo,mpi_size, &
    212           distrib_phys,COMM_LMDZ)
    213 #endif
    214   END IF
    215189
    216190  !-----------------------------------------------------------------------
     
    400374     ! Physics:
    401375#ifdef CPP_PHYS
    402      CALL iniphysiq(iim,jjm,llm,daysec,day_ini,dtphys/nsplit_phys, &
    403           rlatu,rlonv,aire,cu,cv,rad,g,r,cpp, &
     376     CALL iniphysiq(iim,jjm,llm, &
     377          distrib_phys(mpi_rank),comm_lmdz, &
     378          daysec,day_ini,dtphys/nsplit_phys, &
     379          rlatu,rlatv,rlonu,rlonv,aire,cu,cv,rad,g,r,cpp, &
    404380          iflag_phys)
    405381#endif
    406382  ENDIF ! of IF ((iflag_phys==1).or.(iflag_phys>=100))
    407383
    408 
    409   !-----------------------------------------------------------------------
    410   !   Initialisation des dimensions d'INCA :
    411   !   --------------------------------------
    412   IF (type_trac == 'inca') THEN
    413      !$OMP PARALLEL
    414 #ifdef INCA
    415      CALL init_inca_dim(klon_omp,llm,iim,jjm, &
    416           rlonu,rlatu,rlonv,rlatv)
    417 #endif
    418      !$OMP END PARALLEL
    419   END IF
    420384
    421385  !-----------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.