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/lagrangian_particle_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,
     
    577581
    578582    INTEGER(iwp) ::  io_status  !< status after reading the namelist file
     583
     584    LOGICAL ::  switch_off_module = .FALSE.  !< local namelist parameter to switch off the module
     585                                             !< although the respective module namelist appears in
     586                                             !< the namelist file
    579587
    580588    NAMELIST /particle_parameters/                                                                 &
     
    638646       splitting_mode,                                                                             &
    639647       step_dealloc,                                                                               &
     648       switch_off_module,                                                                          &
    640649       unlimited_dimension,                                                                        &
    641650       use_sgs_for_particles,                                                                      &
     
    655664!--    particle_parameters namelist was found and read correctly. Set flag that indicates that
    656665!--    particles are switched on.
    657        particle_advection = .TRUE.
     666       IF ( .NOT. switch_off_module )  particle_advection = .TRUE.
    658667
    659668    ELSEIF ( io_status > 0 )  THEN
Note: See TracChangeset for help on using the changeset viewer.