Ignore:
Timestamp:
Jan 15, 2021 3:22:11 PM (4 years ago)
Author:
raasch
Message:

local namelist parameter added to switch off the module although the respective module namelist appears in the namelist file, further copyright updates

File:
1 edited

Legend:

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

    r4842 r4843  
    2424! -----------------
    2525! $Id$
     26! local namelist parameter added to switch off the module although the respective module namelist
     27! appears in the namelist file
     28!
     29! 4842 2021-01-14 10:42:28Z raasch
    2630! reading of namelist file and actions in case of namelist errors revised so that statement labels
    2731! and goto statements are not required any more,
     
    50045008    CHARACTER(LEN=100) ::  line  !< dummy string that contains the current line of the parameter
    50055009                                 !< file
     5010
    50065011    INTEGER(iwp)  ::  io_status  !< status after reading the nameslist file
    50075012
     5013    LOGICAL ::  switch_off_module = .FALSE.  !< local namelist parameter to switch off the module
     5014                                             !< although the respective module namelist appears in
     5015                                             !< the namelist file
    50085016
    50095017    NAMELIST /land_surface_parameters/  aero_resist_kray,                                          &
     
    50375045                                        soil_type,                                                 &
    50385046                                        surface_type,                                              &
     5047                                        switch_off_module,                                         &
    50395048                                        vegetation_coverage,                                       &
    50405049                                        vegetation_type,                                           &
     
    50635072!--    land_surface_parameters namelist was found and read correctly. Set flag that indicates that
    50645073!--    the land surface model is switched on.
    5065        land_surface = .TRUE.
     5074       IF ( .NOT. switch_off_module )  land_surface = .TRUE.
    50665075
    50675076    ELSEIF ( io_status > 0 )  THEN
Note: See TracChangeset for help on using the changeset viewer.