Changeset 3841 for LMDZ6/branches/LMDZ-INCA-Dyn
- Timestamp:
- Feb 11, 2021, 3:29:29 PM (4 years ago)
- Location:
- LMDZ6/branches/LMDZ-INCA-Dyn/libf
- Files:
-
- 4 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 -
LMDZ6/branches/LMDZ-INCA-Dyn/libf/phylmd/physiq_mod.F90
r3820 r3841 42 42 USE iophy 43 43 USE limit_read_mod, ONLY : init_limit_read 44 USE mod_grid_phy_lmdz, ONLY: nbp_lon, nbp_lat, nbp_lev, klon_glo, grid1dTo2d_glo, grid_type, unstructured 44 USE mod_grid_phy_lmdz, ONLY: nbp_lon, nbp_lat, nbp_lev, klon_glo, grid1dTo2d_glo, grid_type, unstructured, nvertex 45 45 USE mod_phys_lmdz_mpi_data, only: is_mpi_root 46 46 USE mod_phys_lmdz_para … … 1948 1948 ndays, nbsrf, is_oce,is_sic, is_ter,is_lic, calend, & 1949 1949 config_inca) 1950 1951 CALL init_inca_geometry( & 1952 longitude, latitude, & 1953 boundslon, boundslat, & 1954 dx, dy, cell_area, ind_cell_glo) 1955 1950 1956 1951 1957 … … 5281 5287 #ifdef CPP_XIOS 5282 5288 IF (is_omp_master) CALL xios_context_finalize 5289 #ifdef INCA 5290 IF (is_omp_master) THEN 5291 5292 CALL finalize_inca 5293 5294 5295 ENDIF 5296 #endif 5297 5283 5298 #endif 5284 5299 WRITE(lunout,*) ' physiq fin, nombre de steps ou cvpas = 1 : ', Ncvpaseq1
Note: See TracChangeset
for help on using the changeset viewer.