Ignore:
Timestamp:
Apr 13, 2018 11:52:24 AM (6 years ago)
Author:
suehring
Message:

Bugfixes in initalization of land-surface model as well as timeseries data output in case of elevated model surfaces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/modules.f90

    r2964 r2968  
    2525! -----------------
    2626! $Id$
     27! +topo_min_level
     28!
     29! 2964 2018-04-12 16:04:03Z raasch
    2730! *_time_count variables are all initialized with zero now
    2831!
     
    17191722    USE kinds
    17201723
    1721     INTEGER(iwp) ::  nbgp = 3     !< number of boundary ghost points
    1722     INTEGER(iwp) ::  ngp_sums     !< number of vertical profile grid points time number of output profiles - used for allreduce statements in MPI calls
    1723     INTEGER(iwp) ::  ngp_sums_ls  !< number of vertical profile grid points time number of large-scale forcing profiles - used for allreduce statements in MPI calls
    1724     INTEGER(iwp) ::  nnx          !< number of subdomain grid points in x-direction
    1725     INTEGER(iwp) ::  nx = 0       !< nx+1 = total number of grid points in x-direction
    1726     INTEGER(iwp) ::  nx_a         !< in coupled atmosphere-ocean runs: total number of grid points along x (atmosphere)
    1727     INTEGER(iwp) ::  nx_o         !< in coupled atmosphere-ocean runs: total number of grid points along x (ocean)
    1728     INTEGER(iwp) ::  nxl          !< left-most grid index of subdomain (excluding ghost points)
    1729     INTEGER(iwp) ::  nxlg         !< left-most grid index of subdomain (including ghost points)
    1730     INTEGER(iwp) ::  nxlu         !< =nxl+1 (at left domain boundary with inflow from left), else =nxl (used for u-velocity component)
    1731     INTEGER(iwp) ::  nxr          !< right-most grid index of subdomain (excluding ghost points)
    1732     INTEGER(iwp) ::  nxrg         !< right-most grid index of subdomain (including ghost points)
    1733     INTEGER(iwp) ::  nx_on_file   !< nx of previous run in job chain
    1734     INTEGER(iwp) ::  nny          !< number of subdomain grid points in y-direction
    1735     INTEGER(iwp) ::  ny = 0       !< ny+1 = total number of grid points in y-direction
    1736     INTEGER(iwp) ::  ny_a         !< in coupled atmosphere-ocean runs: total number of grid points along y (atmosphere)
    1737     INTEGER(iwp) ::  ny_o         !< in coupled atmosphere-ocean runs: total number of grid points along y (ocean)
    1738     INTEGER(iwp) ::  nyn          !< north-most grid index of subdomain (excluding ghost points)
    1739     INTEGER(iwp) ::  nyng         !< north-most grid index of subdomain (including ghost points)
    1740     INTEGER(iwp) ::  nys          !< south-most grid index of subdomain (excluding ghost points)
    1741     INTEGER(iwp) ::  nysg         !< south-most grid index of subdomain (including ghost points)
    1742     INTEGER(iwp) ::  nysv         !< =nys+1 (at south domain boundary with inflow from south), else =nys (used for v-velocity component)
    1743     INTEGER(iwp) ::  ny_on_file   !< ny of previous run in job chain
    1744     INTEGER(iwp) ::  nnz          !< number of subdomain grid points in z-direction
    1745     INTEGER(iwp) ::  nz = 0       !< total number of grid points in z-direction
    1746     INTEGER(iwp) ::  nzb          !< bottom grid index of computational domain
    1747     INTEGER(iwp) ::  nzb_diff     !< will be removed
    1748     INTEGER(iwp) ::  nzb_max      !< vertical index of topography top
    1749     INTEGER(iwp) ::  nzt          !< nzt+1 = top grid index of computational domain
     1724    INTEGER(iwp) ::  nbgp = 3       !< number of boundary ghost points
     1725    INTEGER(iwp) ::  ngp_sums       !< number of vertical profile grid points time number of output profiles - used for allreduce statements in MPI calls
     1726    INTEGER(iwp) ::  ngp_sums_ls    !< number of vertical profile grid points time number of large-scale forcing profiles - used for allreduce statements in MPI calls
     1727    INTEGER(iwp) ::  nnx            !< number of subdomain grid points in x-direction
     1728    INTEGER(iwp) ::  nx = 0         !< nx+1 = total number of grid points in x-direction
     1729    INTEGER(iwp) ::  nx_a           !< in coupled atmosphere-ocean runs: total number of grid points along x (atmosphere)
     1730    INTEGER(iwp) ::  nx_o           !< in coupled atmosphere-ocean runs: total number of grid points along x (ocean)
     1731    INTEGER(iwp) ::  nxl            !< left-most grid index of subdomain (excluding ghost points)
     1732    INTEGER(iwp) ::  nxlg           !< left-most grid index of subdomain (including ghost points)
     1733    INTEGER(iwp) ::  nxlu           !< =nxl+1 (at left domain boundary with inflow from left), else =nxl (used for u-velocity component)
     1734    INTEGER(iwp) ::  nxr            !< right-most grid index of subdomain (excluding ghost points)
     1735    INTEGER(iwp) ::  nxrg           !< right-most grid index of subdomain (including ghost points)
     1736    INTEGER(iwp) ::  nx_on_file     !< nx of previous run in job chain
     1737    INTEGER(iwp) ::  nny            !< number of subdomain grid points in y-direction
     1738    INTEGER(iwp) ::  ny = 0         !< ny+1 = total number of grid points in y-direction
     1739    INTEGER(iwp) ::  ny_a           !< in coupled atmosphere-ocean runs: total number of grid points along y (atmosphere)
     1740    INTEGER(iwp) ::  ny_o           !< in coupled atmosphere-ocean runs: total number of grid points along y (ocean)
     1741    INTEGER(iwp) ::  nyn            !< north-most grid index of subdomain (excluding ghost points)
     1742    INTEGER(iwp) ::  nyng           !< north-most grid index of subdomain (including ghost points)
     1743    INTEGER(iwp) ::  nys            !< south-most grid index of subdomain (excluding ghost points)
     1744    INTEGER(iwp) ::  nysg           !< south-most grid index of subdomain (including ghost points)
     1745    INTEGER(iwp) ::  nysv           !< =nys+1 (at south domain boundary with inflow from south), else =nys (used for v-velocity component)
     1746    INTEGER(iwp) ::  ny_on_file     !< ny of previous run in job chain
     1747    INTEGER(iwp) ::  nnz            !< number of subdomain grid points in z-direction
     1748    INTEGER(iwp) ::  nz = 0         !< total number of grid points in z-direction
     1749    INTEGER(iwp) ::  nzb            !< bottom grid index of computational domain
     1750    INTEGER(iwp) ::  nzb_diff       !< will be removed
     1751    INTEGER(iwp) ::  nzb_max        !< vertical index of topography top
     1752    INTEGER(iwp) ::  nzt            !< nzt+1 = top grid index of computational domain
     1753    INTEGER(iwp) ::  topo_min_level !< minimum topography-top index (usually equal to nzb)
    17501754
    17511755    INTEGER(idp), DIMENSION(:), ALLOCATABLE ::  ngp_3d        !< number of grid points of the total domain
Note: See TracChangeset for help on using the changeset viewer.