Changeset 1573
- Timestamp:
- Jul 12, 2016, 3:17:48 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DOC/chantiers/commit_importants.log
r1572 r1573 1833 1833 - physiq_mod , write_hist*.h : use is_north_pole_phy and is_south_pole_phy 1834 1834 to correctly compute mesh area at poles to send to hist*nc files. 1835 1836 1837 ********************** 1838 **** commit_v1573 **** 1839 ********************** 1840 Cleanup concerning iniphysiq/inigeomphy initializations: initializations 1841 related to routines in phy_common or dynphy_lonlat can be done in 1842 inigeomphy, but any initialization for modules/routines in a physics 1843 package (directory phy***) must be done in the related phy***/iniphysiq 1844 routine. 1845 -
trunk/LMDZ.COMMON/libf/dynphy_lonlat/inigeomphy_mod.F90
r1564 r1573 6 6 nbp, communicator, & 7 7 rlatu,rlatv,rlonu,rlonv,aire,cu,cv) 8 USE dimphy, ONLY: init_dimphy9 8 USE mod_grid_phy_lmdz, ONLY: klon_glo, & ! number of atmospheric columns (on full grid) 10 9 regular_lonlat, & ! regular longitude-latitude grid type … … 15 14 klon_mpi_begin ! start indes of columns (on local mpi grid) 16 15 USE geometry_mod, ONLY : init_geometry 17 ! USE comgeomphy, ONLY: initcomgeomphy, &18 ! airephy, & ! physics grid area (m2)19 ! cuphy, & ! cu coeff. (u_covariant = cu * u)20 ! cvphy, & ! cv coeff. (v_covariant = cv * v)21 ! rlond, & ! longitudes22 ! rlatd ! latitudes23 16 USE physics_distribution_mod, ONLY : init_physics_distribution 24 17 USE regular_lonlat_mod, ONLY : init_regular_lonlat, & … … 220 213 airefi,cufi,cvfi) 221 214 222 223 ! Initialize dimphy module224 CALL init_dimphy(klon_omp,nlayer)225 226 215 !$OMP END PARALLEL 227 216 -
trunk/LMDZ.COMMON/libf/dynphy_lonlat/phytitan/iniphysiq_mod.F90
r1564 r1573 17 17 USE inigeomphy_mod, ONLY: inigeomphy 18 18 USE control_mod, ONLY: nday 19 USE dimphy, ONLY: init_dimphy 20 USE mod_phys_lmdz_para, ONLY: klon_omp ! number of columns (on local omp grid) 19 21 IMPLICIT NONE 20 22 … … 54 56 !------------------------------------------ 55 57 ! --> initialize physics distribution, global fields and geometry 58 ! (i.e. things in phy_common or dynphy_lonlat) 56 59 CALL inigeomphy(ii,jj,nlayer, & 57 60 nbp, communicator, & … … 60 63 airedyn,cudyn,cvdyn) 61 64 62 ! the distinct part for all planetary physics 65 ! the distinct part for all planetary physics (ie. things in phytitan) 63 66 !------------------------------------------ 64 67 65 68 !$OMP PARALLEL 69 70 ! Initialize dimphy module 71 call init_dimphy(klon_omp,nlayer) 66 72 67 73 ! Initialize some physical constants -
trunk/LMDZ.COMMON/libf/dynphy_lonlat/phyvenus/iniphysiq_mod.F90
r1564 r1573 16 16 USE time_phylmdz_mod, ONLY: init_time 17 17 USE inigeomphy_mod, ONLY: inigeomphy 18 USE dimphy, ONLY: init_dimphy 19 USE mod_phys_lmdz_para, ONLY: klon_omp ! number of columns (on local omp grid) 18 20 IMPLICIT NONE 19 21 … … 53 55 !------------------------------------------ 54 56 ! --> initialize physics distribution, global fields and geometry 57 ! (i.e. things in phy_common or dynphy_lonlat) 55 58 CALL inigeomphy(ii,jj,nlayer, & 56 59 nbp, communicator, & … … 59 62 airedyn,cudyn,cvdyn) 60 63 61 ! the distinct part for all planetary physics 64 ! the distinct part for all planetary physics (ie. things in phyvenus) 62 65 !------------------------------------------ 63 66 64 67 !$OMP PARALLEL 68 69 ! Initialize dimphy module 70 call init_dimphy(klon_omp,nlayer) 65 71 66 72 ! Initialize some physical constants -
trunk/LMDZ.GENERIC/README
r1566 r1573 1232 1232 iniphysiq 1233 1233 1234 == 12/07/2016 == EM 1235 - move initialization of dimphy from inigeomphy to iniphysiq (initializations 1236 related to routines in phy_common or dynphy_lonlat can be done in 1237 inigeomphy, but any initialization for modules/routines in a physics 1238 package (directory phystd) must be done in the related phystd/iniphysiq 1239 routine. -
trunk/LMDZ.GENERIC/libf/dynphy_lonlat/inigeomphy_mod.F90
r1566 r1573 6 6 nbp, communicator, & 7 7 rlatu,rlatv,rlonu,rlonv,aire,cu,cv) 8 USE dimphy, ONLY: init_dimphy9 8 USE mod_grid_phy_lmdz, ONLY: klon_glo, & ! number of atmospheric columns (on full grid) 10 9 regular_lonlat, & ! regular longitude-latitude grid type … … 15 14 klon_mpi_begin ! start indes of columns (on local mpi grid) 16 15 USE geometry_mod, ONLY : init_geometry 17 ! USE comgeomphy, ONLY: initcomgeomphy, &18 ! airephy, & ! physics grid area (m2)19 ! cuphy, & ! cu coeff. (u_covariant = cu * u)20 ! cvphy, & ! cv coeff. (v_covariant = cv * v)21 ! rlond, & ! longitudes22 ! rlatd ! latitudes23 16 USE physics_distribution_mod, ONLY : init_physics_distribution 24 17 USE regular_lonlat_mod, ONLY : init_regular_lonlat, & … … 220 213 airefi,cufi,cvfi) 221 214 222 223 ! Initialize dimphy module224 CALL init_dimphy(klon_omp,nlayer)225 226 215 !$OMP END PARALLEL 227 216 -
trunk/LMDZ.GENERIC/libf/dynphy_lonlat/phystd/iniphysiq_mod.F90
r1564 r1573 24 24 ! necessary to get klon_omp 25 25 USE mod_phys_lmdz_para, ONLY: klon_omp ! number of columns (on local omp grid) 26 USE dimphy, ONLY: init_dimphy 26 27 27 28 implicit none … … 57 58 !------------------------------------------ 58 59 ! --> initialize physics distribution, global fields and geometry 60 ! (i.e. things in phy_common or dynphy_lonlat) 59 61 CALL inigeomphy(ii,jj,nlayer, & 60 62 nbp, communicator, & … … 63 65 airedyn,cudyn,cvdyn) 64 66 65 ! the distinct part for all planetary physics 67 ! the distinct part for all planetary physics (ie. things in phystd) 66 68 !------------------------------------------ 67 69 … … 70 72 ! copy some fundamental parameters to physics 71 73 ! and do some initializations 74 75 ! Initialize dimphy module 76 call init_dimphy(klon_omp,nlayer) 72 77 73 78 ! copy over preff , ap() and bp() -
trunk/LMDZ.MARS/README
r1566 r1573 2306 2306 - missing libf/dynphy_lonlat/phymars/inigeomphy_mod.F90 in previous commit 2307 2307 2308 == 12/07/2016 == EM 2309 - move initialization of dimphy from inigeomphy to iniphysiq (initializations 2310 related to routines in phy_common or dynphy_lonlat can be done in 2311 inigeomphy, but any initialization for modules/routines in a physics 2312 package (directory phymars) must be done in the related phymars/iniphysiq 2313 routine. -
trunk/LMDZ.MARS/libf/dynphy_lonlat/inigeomphy_mod.F90
r1566 r1573 6 6 nbp, communicator, & 7 7 rlatu,rlatv,rlonu,rlonv,aire,cu,cv) 8 USE dimphy, ONLY: init_dimphy9 8 USE mod_grid_phy_lmdz, ONLY: klon_glo, & ! number of atmospheric columns (on full grid) 10 9 regular_lonlat, & ! regular longitude-latitude grid type … … 15 14 klon_mpi_begin ! start indes of columns (on local mpi grid) 16 15 USE geometry_mod, ONLY : init_geometry 17 ! USE comgeomphy, ONLY: initcomgeomphy, &18 ! airephy, & ! physics grid area (m2)19 ! cuphy, & ! cu coeff. (u_covariant = cu * u)20 ! cvphy, & ! cv coeff. (v_covariant = cv * v)21 ! rlond, & ! longitudes22 ! rlatd ! latitudes23 16 USE physics_distribution_mod, ONLY : init_physics_distribution 24 17 USE regular_lonlat_mod, ONLY : init_regular_lonlat, & … … 220 213 airefi,cufi,cvfi) 221 214 222 223 ! Initialize dimphy module224 CALL init_dimphy(klon_omp,nlayer)225 226 215 !$OMP END PARALLEL 227 216 -
trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars/iniphysiq_mod.F90
r1564 r1573 20 20 ! necessary to get klon_omp 21 21 USE mod_phys_lmdz_para, ONLY: klon_omp ! number of columns (on local omp grid) 22 USE dimphy, ONLY: init_dimphy 22 23 23 24 implicit none … … 49 50 !------------------------------------------ 50 51 ! --> initialize physics distribution, global fields and geometry 52 ! (i.e. things in phy_common or dynphy_lonlat) 51 53 CALL inigeomphy(ii,jj,nlayer, & 52 54 nbp, communicator, & … … 55 57 airedyn,cudyn,cvdyn) 56 58 57 ! the distinct part for all planetary physics 59 ! the distinct part for all planetary physics (ie. things in phymars) 58 60 !------------------------------------------ 59 61 … … 62 64 ! copy some fundamental parameters to physics 63 65 ! and do some initializations 66 67 ! Initialize dimphy module 68 call init_dimphy(klon_omp,nlayer) 64 69 65 70 call phys_state_var_init(klon_omp,nlayer,nqtot, &
Note: See TracChangeset
for help on using the changeset viewer.