Changeset 3841 for LMDZ6/branches/LMDZ-INCA-Dyn/libf/phy_common
- Timestamp:
- Feb 11, 2021, 3:29:29 PM (4 years ago)
- Location:
- LMDZ6/branches/LMDZ-INCA-Dyn/libf/phy_common
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/LMDZ-INCA-Dyn/libf/phy_common/mod_phys_lmdz_mpi_data.F90
r3820 r3841 46 46 CONTAINS 47 47 48 SUBROUTINE init_phys_lmdz_mpi_data(nbp, nbp_lon, nbp_lat, nbp_lev, communicator)49 50 USE infotrac, ONLY: type_trac48 SUBROUTINE init_phys_lmdz_mpi_data(nbp, nbp_lon, nbp_lat, nbp_lev, grid_type, nvertex, communicator) 49 50 ! USE infotrac, ONLY: type_trac 51 51 52 52 IMPLICIT NONE … … 59 59 INTEGER,INTENT(IN) :: nbp_lev 60 60 INTEGER,INTENT(IN) :: communicator 61 INTEGER,INTENT(IN) :: grid_type 62 INTEGER,INTENT(IN) :: nvertex 61 63 62 64 INTEGER,ALLOCATABLE :: distrib(:) … … 184 186 CALL Print_module_data 185 187 186 IF (type_trac == 'inca') THEN188 ! IF (type_trac == 'inca') THEN 187 189 #ifdef INCA 188 190 CALL init_inca_para( & 189 191 nbp_lon,nbp_lat,nbp_lev,klon_glo,mpi_size, & 190 distrib, communicator)191 #endif 192 ENDIF192 distrib,nvertex, grid_type,communicator) 193 #endif 194 ! ENDIF 193 195 194 196 END SUBROUTINE Init_phys_lmdz_mpi_data -
LMDZ6/branches/LMDZ-INCA-Dyn/libf/phy_common/mod_phys_lmdz_para.F90
r3820 r3841 17 17 CONTAINS 18 18 19 SUBROUTINE Init_phys_lmdz_para(nbp,nbp_lon,nbp_lat,nbp_lev, communicator)19 SUBROUTINE Init_phys_lmdz_para(nbp,nbp_lon,nbp_lat,nbp_lev,grid_type, nvertex,communicator) 20 20 IMPLICIT NONE 21 21 INTEGER,INTENT(in) :: nbp … … 24 24 INTEGER,INTENT(in) :: nbp_lev 25 25 INTEGER,INTENT(in) :: communicator 26 INTEGER,INTENT(IN) :: grid_type 27 INTEGER,INTENT(IN) :: nvertex 26 28 27 CALL Init_phys_lmdz_mpi_data(nbp,nbp_lon,nbp_lat,nbp_lev, communicator)29 CALL Init_phys_lmdz_mpi_data(nbp,nbp_lon,nbp_lat,nbp_lev, grid_type, nvertex,communicator) 28 30 !$OMP PARALLEL 29 31 CALL Init_phys_lmdz_omp_data(klon_mpi) -
LMDZ6/branches/LMDZ-INCA-Dyn/libf/phy_common/physics_distribution_mod.F90
r3840 r3841 13 13 USE mod_grid_phy_lmdz, ONLY: init_grid_phy_lmdz 14 14 USE dimphy, ONLY : Init_dimphy 15 ! attention a modifier, on ne peut pas garder infotrac depuis la physique 16 ! bug avec le couplage dynamico 17 USE infotrac, ONLY : type_trac 15 ! USE infotrac, ONLY : type_trac 18 16 #ifdef REPROBUS 19 17 USE CHEM_REP, ONLY : Init_chem_rep_phys … … 31 29 32 30 CALL init_grid_phy_lmdz(grid_type,nvertex, nbp_lon,nbp_lat,nbp_lev) 33 CALL init_phys_lmdz_para(nbp,nbp_lon, nbp_lat,nbp_lev, communicator)31 CALL init_phys_lmdz_para(nbp,nbp_lon, nbp_lat,nbp_lev, grid_type,nvertex, communicator) 34 32 !$OMP PARALLEL 35 33 CALL init_dimphy(klon_omp,nbp_lev) 36 34 37 35 ! Initialization of Reprobus 38 IF (type_trac == 'repr') THEN36 ! IF (type_trac == 'repr') THEN 39 37 #ifdef REPROBUS 40 38 CALL Init_chem_rep_phys(klon_omp,nbp_lev) 41 39 #endif 42 END IF43 IF (type_trac == 'inca') THEN40 ! END IF 41 ! IF (type_trac == 'inca') THEN 44 42 #ifdef INCA 45 43 CALL Init_inca_dim(klon_omp,nbp_lev) 46 44 #endif 47 END IF45 ! END IF 48 46 49 47 !$OMP END PARALLEL
Note: See TracChangeset
for help on using the changeset viewer.