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/radiation_model_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,
     
    41164120    INTEGER(iwp) ::  io_status   !< status after reading the namelist file
    41174121
     4122    LOGICAL ::  switch_off_module = .FALSE.  !< local namelist parameter to switch off the module
     4123                                             !< although the respective module namelist appears in
     4124                                             !< the namelist file
    41184125
    41194126    NAMELIST /radiation_parameters/ albedo,                                                        &
     
    41484155                                    surface_reflections,                                           &
    41494156                                    svfnorm_report_thresh,                                         &
     4157                                    switch_off_module,                                             &
    41504158                                    sw_radiation,                                                  &
    41514159                                    unscheduled_radiation_calls
     
    41624170!--    radiation_parameters namelist was found and read correctly. Set flag that indicates that the
    41634171!--    radiation model is switched on.
    4164        radiation = .TRUE.
     4172       IF ( .NOT. switch_off_module )  radiation = .TRUE.
    41654173
    41664174    ELSEIF ( io_status > 0 )  THEN
Note: See TracChangeset for help on using the changeset viewer.