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

    r4828 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! 4828 2021-01-05 11:21:41Z Giersch
    2731! Enable 3D data output also with 64-bit precision
    2832!
     
    249253    INTEGER(iwp) ::  j          !<
    250254
    251 
    252     NAMELIST /user_parameters/                                                                     &
    253        data_output_masks_user,                                                                     &
    254        data_output_pr_user,                                                                        &
    255        data_output_user,                                                                           &
    256        region
     255    LOGICAL ::  switch_off_module = .FALSE.  !< local namelist parameter to switch off the module
     256                                             !< although the respective module namelist appears in
     257                                             !< the namelist file
     258
     259    NAMELIST /user_parameters/  data_output_masks_user,                                            &
     260                                data_output_pr_user,                                               &
     261                                data_output_user,                                                  &
     262                                region,                                                            &
     263                                switch_off_module
    257264
    258265!
     
    281288!--    User namelist found and correctly read. Set default module switch to true. This activates
    282289!--    calls of the user-interface subroutines.
    283        user_module_enabled = .TRUE.
     290       IF ( .NOT. switch_off_module )  user_module_enabled = .TRUE.
    284291
    285292    ELSEIF ( io_status > 0 )  THEN
Note: See TracChangeset for help on using the changeset viewer.