Ignore:
Timestamp:
Jun 12, 2018 7:03:02 AM (6 years ago)
Author:
Giersch
Message:

New vertical stretching procedure has been introduced

File:
1 edited

Legend:

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

    r3049 r3065  
    2525! -----------------
    2626! $Id$
     27! dz was replaced by the help of zw to allow for vertical stretching
     28!
     29! 3049 2018-05-29 13:52:36Z Giersch
    2730! Error messages revised
    2831!
     
    550553
    551554       USE control_parameters,                                                 &
    552            ONLY: dz, passive_scalar
     555           ONLY: passive_scalar
    553556
    554557
     
    568571       REAL(wp) ::  canopy_height       !< canopy height (in m)
    569572       
    570        canopy_height = pch_index * dz
     573       canopy_height = zw(pch_index)
    571574
    572575       WRITE ( io, 1 )  canopy_mode, canopy_height, pch_index,                 &
     
    668671
    669672       USE control_parameters,                                                 &
    670            ONLY: dz, humidity, io_blocks, io_group, message_string, ocean,     &
     673           ONLY: humidity, io_blocks, io_group, message_string, ocean,         &
    671674                 passive_scalar, urban_surface
    672675
     
    761764!--       Use beta function for lad-profile construction
    762765          int_bpdf = 0.0_wp
    763           canopy_height = pch_index * dz
     766          canopy_height = zw(pch_index)
    764767
    765768          DO k = 0, pch_index
Note: See TracChangeset for help on using the changeset viewer.