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.COMMON/libf/dynphy_lonlat
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/dynphy_lonlat/inigeomphy_mod.F90

    r1564 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.COMMON/libf/dynphy_lonlat/phytitan/iniphysiq_mod.F90

    r1564 r1573  
    1717  USE inigeomphy_mod, ONLY: inigeomphy
    1818  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)
    1921  IMPLICIT NONE
    2022
     
    5456  !------------------------------------------
    5557  ! --> initialize physics distribution, global fields and geometry
     58  ! (i.e. things in phy_common or dynphy_lonlat)
    5659  CALL inigeomphy(ii,jj,nlayer, &
    5760               nbp, communicator, &
     
    6063               airedyn,cudyn,cvdyn)
    6164
    62   ! the distinct part for all planetary physics
     65  ! the distinct part for all planetary physics  (ie. things in phytitan)
    6366  !------------------------------------------
    6467
    6568!$OMP PARALLEL
     69
     70  ! Initialize dimphy module
     71  call init_dimphy(klon_omp,nlayer)
    6672
    6773  ! Initialize some physical constants
  • trunk/LMDZ.COMMON/libf/dynphy_lonlat/phyvenus/iniphysiq_mod.F90

    r1564 r1573  
    1616  USE time_phylmdz_mod, ONLY: init_time
    1717  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)
    1820  IMPLICIT NONE
    1921
     
    5355  !------------------------------------------
    5456  ! --> initialize physics distribution, global fields and geometry
     57  ! (i.e. things in phy_common or dynphy_lonlat)
    5558  CALL inigeomphy(ii,jj,nlayer, &
    5659               nbp, communicator, &
     
    5962               airedyn,cudyn,cvdyn)
    6063
    61   ! the distinct part for all planetary physics
     64  ! the distinct part for all planetary physics (ie. things in phyvenus)
    6265  !------------------------------------------
    6366
    6467!$OMP PARALLEL
     68
     69  ! Initialize dimphy module
     70  call init_dimphy(klon_omp,nlayer)
    6571
    6672  ! Initialize some physical constants
Note: See TracChangeset for help on using the changeset viewer.