Changeset 1573 for trunk/LMDZ.GENERIC


Ignore:
Timestamp:
Jul 12, 2016, 3:17:48 PM (8 years ago)
Author:
emillour
Message:

All GCMS:
Cleanup concerning iniphysiq/inigeomphy initializations: initializations
related to routines in phy_common or dynphy_lonlat can be done in
inigeomphy, but any initialization for modules/routines in a physics
package (directory phy*) must be done in the related phy*/iniphysiq
routine.
EM

Location:
trunk/LMDZ.GENERIC
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/README

    r1566 r1573  
    12321232  iniphysiq
    12331233
     1234== 12/07/2016 == EM
     1235- move initialization of dimphy from inigeomphy to iniphysiq (initializations
     1236related to routines in phy_common or dynphy_lonlat can be done in
     1237inigeomphy, but any initialization for modules/routines in a physics
     1238package (directory phystd) must be done in the related phystd/iniphysiq
     1239routine.
  • trunk/LMDZ.GENERIC/libf/dynphy_lonlat/inigeomphy_mod.F90

    r1566 r1573  
    66                     nbp, communicator, &
    77                     rlatu,rlatv,rlonu,rlonv,aire,cu,cv)
    8   USE dimphy, ONLY: init_dimphy
    98  USE mod_grid_phy_lmdz, ONLY: klon_glo,  & ! number of atmospheric columns (on full grid)
    109                               regular_lonlat, &  ! regular longitude-latitude grid type
     
    1514                                klon_mpi_begin ! start indes of columns (on local mpi grid)
    1615  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, & ! longitudes
    22 !                        rlatd ! latitudes
    2316  USE physics_distribution_mod, ONLY : init_physics_distribution
    2417  USE regular_lonlat_mod, ONLY : init_regular_lonlat, &
     
    220213                     airefi,cufi,cvfi)
    221214
    222 
    223   ! Initialize dimphy module
    224   CALL init_dimphy(klon_omp,nlayer)
    225 
    226215!$OMP END PARALLEL
    227216
  • trunk/LMDZ.GENERIC/libf/dynphy_lonlat/phystd/iniphysiq_mod.F90

    r1564 r1573  
    2424! necessary to get klon_omp
    2525USE mod_phys_lmdz_para, ONLY: klon_omp ! number of columns (on local omp grid)
     26USE dimphy, ONLY: init_dimphy
    2627
    2728implicit none
     
    5758  !------------------------------------------
    5859  ! --> initialize physics distribution, global fields and geometry
     60  ! (i.e. things in phy_common or dynphy_lonlat)
    5961  CALL inigeomphy(ii,jj,nlayer, &
    6062               nbp, communicator, &
     
    6365               airedyn,cudyn,cvdyn)
    6466
    65   ! the distinct part for all planetary physics
     67  ! the distinct part for all planetary physics (ie. things in phystd)
    6668  !------------------------------------------
    6769
     
    7072! copy some fundamental parameters to physics
    7173! and do some initializations
     74
     75! Initialize dimphy module
     76call init_dimphy(klon_omp,nlayer)
    7277
    7378! copy over preff , ap() and bp()
Note: See TracChangeset for help on using the changeset viewer.