Ignore:
Timestamp:
Nov 14, 2018 1:36:44 PM (5 years ago)
Author:
raasch
Message:

unused variables removed, missing working precision added, missing preprocessor directives added, bugfix concerning allocation of t_surf_wall_v in nopointer case, declaration statements rearranged to avoid compile time errors, mpi_abort arguments replaced to avoid compile errors

File:
1 edited

Legend:

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

    r3498 r3524  
    2727! -----------------
    2828! $Id$
     29! working precision added to make code Fortran 2008 conform
     30!
     31! 3498 2018-11-07 10:53:03Z gronemeier
    2932! corrected revisions section
    3033!
     
    403406     temp = pt(k,j,i) * exner(k) - degc_to_k
    404407!--  Coefficient for conversion of radiation to grid to radiation to unit leaves surface
    405      v_lad = 1.0_wp / ( MAX(lad_s(kk,j,i), 1.0e-10) * dx * dy * dz(1) )
     408     v_lad = 1.0_wp / ( MAX( lad_s(kk,j,i), 1.0e-10_wp ) * dx * dy * dz(1) )
    406409!--  Magnus formula for the saturation pressure (see Ngao, Adam and Saudreau (2017) eq. 1)
    407410!--  There are updated formulas available, kept consistent with the rest of the parametrization
Note: See TracChangeset for help on using the changeset viewer.