Ignore:
Timestamp:
Jan 15, 2021 3:22:11 PM (3 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/urban_surface_mod.f90

    r4842 r4843  
    2727! -----------------
    2828! $Id$
     29! local namelist parameter added to switch off the module although the respective module namelist
     30! appears in the namelist file
     31!
     32! 4842 2021-01-14 10:42:28Z raasch
    2933! reading of namelist file and actions in case of namelist errors revised so that statement labels
    3034! and goto statements are not required any more
     
    58215825    INTEGER(iwp) ::  io_status    !< status after reading the namelist file
    58225826
     5827    LOGICAL ::  switch_off_module = .FALSE.  !< local namelist parameter to switch off the module
     5828                                             !< although the respective module namelist appears in
     5829                                             !< the namelist file
     5830
    58235831    NAMELIST /urban_surface_parameters/                                                            &
    58245832                        building_type,                                                             &
     
    58275835                        roughness_concrete,                                                        &
    58285836                        soil_inner_temperature,                                                    &
     5837                        switch_off_module,                                                         &
    58295838                        urban_surface,                                                             &
    58305839                        usm_wall_mod,                                                              &
     
    58345843
    58355844
    5836 
    58375845!
    58385846!-- Move to the beginning of the namelist file and try to find and read the namelist.
     
    58465854!--    urban_surface_parameters namelist was found and read correctly. Set flag that indicates that
    58475855!--    the urban surface model is switched on.
    5848        urban_surface = .TRUE.
     5856       IF ( .NOT. switch_off_module )  urban_surface = .TRUE.
    58495857
    58505858    ELSEIF ( io_status > 0 )  THEN
Note: See TracChangeset for help on using the changeset viewer.