Changeset 1573 for trunk/LMDZ.MARS/libf


Ignore:
Timestamp:
Jul 12, 2016, 3:17:48 PM (9 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.MARS/libf/dynphy_lonlat
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/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.MARS/libf/dynphy_lonlat/phymars/iniphysiq_mod.F90

    r1564 r1573  
    2020! necessary to get klon_omp
    2121USE mod_phys_lmdz_para, ONLY: klon_omp ! number of columns (on local omp grid)
     22USE dimphy, ONLY: init_dimphy
    2223
    2324implicit none
     
    4950  !------------------------------------------
    5051  ! --> initialize physics distribution, global fields and geometry
     52  ! (i.e. things in phy_common or dynphy_lonlat)
    5153  CALL inigeomphy(ii,jj,nlayer, &
    5254               nbp, communicator, &
     
    5557               airedyn,cudyn,cvdyn)
    5658
    57   ! the distinct part for all planetary physics
     59  ! the distinct part for all planetary physics (ie. things in phymars)
    5860  !------------------------------------------
    5961
     
    6264! copy some fundamental parameters to physics
    6365! and do some initializations
     66
     67! Initialize dimphy module
     68call init_dimphy(klon_omp,nlayer)
    6469
    6570call phys_state_var_init(klon_omp,nlayer,nqtot, &
Note: See TracChangeset for help on using the changeset viewer.