Changeset 4127
- Timestamp:
- Apr 20, 2022, 11:01:09 AM (3 years ago)
- Location:
- LMDZ6/trunk/libf
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/dyn3d_common/infotrac.F90
r4124 r4127 293 293 ALLOCATE(hadv_inca(nqINCA), conv_flg_inca(nqINCA), solsym_inca(nqINCA)) 294 294 ALLOCATE(vadv_inca(nqINCA), pbl_flg_inca(nqINCA)) 295 CALL init_transport( hadv_inca, vadv_inca, conv_flg_inca, pbl_flg_inca, solsym_inca)295 CALL init_transport(solsym_inca, conv_flg_inca, pbl_flg_inca, hadv_inca, vadv_inca) 296 296 #endif 297 297 ELSE … … 379 379 ALLOCATE(hadv(nqtrue), conv_flg(nbtr), hadv_inca(nqINCA), conv_flg_inca(nqINCA), solsym_inca(nqINCA)) 380 380 ALLOCATE(vadv(nqtrue), pbl_flg(nbtr), vadv_inca(nqINCA), pbl_flg_inca(nqINCA)) 381 CALL init_transport( hadv_inca, vadv_inca, conv_flg_inca, pbl_flg_inca, solsym_inca)381 CALL init_transport(solsym_inca, conv_flg_inca, pbl_flg_inca, hadv_inca, vadv_inca) 382 382 !--- Passive CO2 tracer is at position 1 because: H2O has been removed ; nqCO2/=0 in "inco" case only 383 383 conv_flg(1:nbtr) = [(1, k=1, nqCO2), conv_flg_inca] -
LMDZ6/trunk/libf/dynphy_lonlat/phylmd/iniphysiq_mod.F90
r4124 r4127 150 150 !$OMP END PARALLEL 151 151 152 IF (type_trac == 'inca' .OR. type_trac == 'inco') THEN 153 #ifdef INCA 154 call init_const_lmdz( & 155 anneeref,dayref, iphysiq,day_step,nday, & 156 nbsrf, is_oce,is_sic, is_ter,is_lic, calend, & 157 config_inca) 158 call init_inca_para( & 159 nbp_lon,nbp_lat,nbp_lev,klon_glo,mpi_size, & 160 distrib_phys,communicator) 161 #endif 162 END IF 152 163 153 IF (type_trac == 'repr') THEN 164 154 #ifdef REPROBUS … … 178 168 IF (type_trac == 'inca' .OR. type_trac == 'inco') THEN 179 169 #ifdef INCA 180 CALL init_inca_dim (klon_omp,nbp_lev,nbp_lon,nbp_lat - 1, &181 rlonudyn, rlatudyn,rlonvdyn,rlatvdyn)170 CALL init_inca_dim_reg(nbp_lon, nbp_lat - 1, & 171 rlonudyn, rlatudyn, rlonvdyn, rlatvdyn) 182 172 #endif 183 173 END IF 174 184 175 IF (type_trac == 'repr') THEN 185 176 #ifdef REPROBUS -
LMDZ6/trunk/libf/phy_common/mod_phys_lmdz_mpi_data.F90
r3435 r4127 46 46 CONTAINS 47 47 48 SUBROUTINE init_phys_lmdz_mpi_data(nbp, nbp_lon, nbp_lat, communicator) 48 SUBROUTINE init_phys_lmdz_mpi_data(nbp, nbp_lon, nbp_lat, nbp_lev, grid_type, nvertex, communicator) 49 49 50 IMPLICIT NONE 50 51 #ifdef CPP_MPI … … 54 55 INTEGER,INTENT(IN) :: nbp_lon 55 56 INTEGER,INTENT(IN) :: nbp_lat 57 INTEGER,INTENT(IN) :: nbp_lev 56 58 INTEGER,INTENT(IN) :: communicator 59 INTEGER,INTENT(IN) :: grid_type 60 INTEGER,INTENT(IN) :: nvertex 57 61 58 62 INTEGER,ALLOCATABLE :: distrib(:) … … 179 183 180 184 CALL Print_module_data 185 186 #ifdef INCA 187 CALL init_inca_para( & 188 nbp_lon,nbp_lat,nbp_lev,klon_glo,mpi_size, & 189 distrib,nvertex, grid_type,communicator) 190 #endif 181 191 182 192 END SUBROUTINE Init_phys_lmdz_mpi_data -
LMDZ6/trunk/libf/phy_common/mod_phys_lmdz_para.F90
r3465 r4127 17 17 CONTAINS 18 18 19 SUBROUTINE Init_phys_lmdz_para(nbp,nbp_lon,nbp_lat, 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 22 22 INTEGER,INTENT(in) :: nbp_lon 23 23 INTEGER,INTENT(in) :: nbp_lat 24 INTEGER,INTENT(in) :: nbp_lev 24 25 INTEGER,INTENT(in) :: communicator 26 INTEGER,INTENT(IN) :: grid_type 27 INTEGER,INTENT(IN) :: nvertex 25 28 26 CALL Init_phys_lmdz_mpi_data(nbp,nbp_lon,nbp_lat, communicator)29 CALL Init_phys_lmdz_mpi_data(nbp,nbp_lon,nbp_lat,nbp_lev, grid_type, nvertex,communicator) 27 30 !$OMP PARALLEL 28 31 CALL Init_phys_lmdz_omp_data(klon_mpi) -
LMDZ6/trunk/libf/phy_common/physics_distribution_mod.F90
r3435 r4127 29 29 30 30 CALL init_grid_phy_lmdz(grid_type,nvertex, nbp_lon,nbp_lat,nbp_lev) 31 CALL init_phys_lmdz_para(nbp,nbp_lon, nbp_lat, communicator)31 CALL init_phys_lmdz_para(nbp,nbp_lon, nbp_lat,nbp_lev, grid_type,nvertex, communicator) 32 32 !$OMP PARALLEL 33 33 CALL init_dimphy(klon_omp,nbp_lev) 34 35 #ifdef INCA 36 CALL Init_inca_dim(klon_omp,nbp_lev) 37 #endif 34 38 35 39 ! Initialization of Reprobus -
LMDZ6/trunk/libf/phylmd/physiq_mod.F90
r4120 r4127 34 34 USE FLOTT_GWD_rando_m, only: FLOTT_GWD_rando 35 35 USE fonte_neige_mod, ONLY : fonte_neige_get_vars 36 USE geometry_mod, ONLY: cell_area, latitude_deg, longitude_deg 36 USE geometry_mod, ONLY: cell_area, latitude_deg, longitude_deg, longitude,latitude, & 37 boundslon,boundslat, dx, dy, ind_cell_glo 37 38 USE ioipsl, only: histbeg, histvert, histdef, histend, histsync, & 38 39 histwrite, ju2ymds, ymds2ju, getin … … 55 56 USE phystokenc_mod, ONLY: offline, phystokenc 56 57 USE phys_cal_mod, only: year_len, mth_len, days_elapsed, jh_1jan, & 57 year_cur, mth_cur,jD_cur, jH_cur, jD_ref, day_cur, hour 58 year_cur, mth_cur,jD_cur, jH_cur, jD_ref, day_cur, hour, calend 58 59 !! USE phys_local_var_mod, ONLY : a long list of variables 59 60 !! ==> see below, after "CPP Keys" section … … 70 71 USE surface_data, ONLY : type_ocean, ok_veget, landice_opt 71 72 USE time_phylmdz_mod, only: annee_ref, current_time, day_ini, day_ref, & 72 day_step_phy, itau_phy, pdtphys, raz_date, start_time, update_time 73 day_step_phy, itau_phy, pdtphys, raz_date, start_time, update_time, ndays 73 74 USE tracinca_mod, ONLY: config_inca 74 75 USE tropopause_m, ONLY: dyn_tropopause … … 2028 2029 WRITE(lunout,*) 'initial time chemini', days_elapsed, calday 2029 2030 2030 CALL chemini( & 2031 rg, & 2032 ra, & 2033 cell_area, & 2031 call init_const_lmdz( & 2032 ndays, nbsrf, is_oce,is_sic, is_ter,is_lic, calend, & 2033 config_inca) 2034 2035 CALL init_inca_geometry( & 2036 longitude, latitude, & 2037 boundslon, boundslat, & 2038 dx, dy, cell_area, ind_cell_glo) 2039 2040 2041 CALL chemini( pplay, & 2042 nbp_lon, nbp_lat, & 2034 2043 latitude_deg, & 2035 2044 longitude_deg, & … … 5083 5092 pphis, & 5084 5093 zx_rh, & 5085 aps, bps, ap, bp )5094 aps, bps, ap, bp, lafin) 5086 5095 5087 5096 CALL VTe(VTinca) … … 5345 5354 #ifdef CPP_XIOS 5346 5355 IF (is_omp_master) CALL xios_context_finalize 5356 5357 #ifdef INCA 5358 if (type_trac == 'inca' ) then 5359 IF (is_omp_master .and. grid_type==unstructured) THEN 5360 CALL finalize_inca 5361 ENDIF 5362 endif 5363 #endif 5364 5347 5365 #endif 5348 5366 WRITE(lunout,*) ' physiq fin, nombre de steps ou cvpas = 1 : ', Ncvpaseq1
Note: See TracChangeset
for help on using the changeset viewer.