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/indoor_model_mod.f90

    r4842 r4843  
    2525! -----------------
    2626! $Id$
     27! local namelist parameter added to switch off the module although the respective module namelist
     28! appears in the namelist file
     29!
     30! 4842 2021-01-14 10:42:28Z raasch
    2731! reading of namelist file and actions in case of namelist errors revised so that statement labels
    2832! and goto statements are not required any more
     
    21312135    INTEGER(iwp)  ::  io_status  !< status after reading the namelist file
    21322136
     2137    LOGICAL ::  switch_off_module = .FALSE.  !< local namelist parameter to switch off the module
     2138                                             !< although the respective module namelist appears in
     2139                                             !< the namelist file
    21332140
    21342141    NAMELIST /indoor_parameters/  indoor_during_spinup,                                            &
    2135                                   initial_indoor_temperature
     2142                                  initial_indoor_temperature,                                      &
     2143                                  switch_off_module
    21362144
    21372145!
     
    21462154!--    indoor_parameters namelist was found and read correctly. Set flag that indicates that the
    21472155!--    indoor model is switched on.
    2148        indoor_model = .TRUE.
     2156       IF ( .NOT. switch_off_module )  indoor_model = .TRUE.
    21492157
    21502158    ELSEIF ( io_status > 0 )  THEN
Note: See TracChangeset for help on using the changeset viewer.