Changeset 4843 for palm/trunk/SOURCE/ocean_mod.f90
- Timestamp:
- Jan 15, 2021 3:22:11 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/ocean_mod.f90
r4842 r4843 24 24 ! ----------------- 25 25 ! $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 26 30 ! reading of namelist file and actions in case of namelist errors revised so that statement labels 27 31 ! and goto statements are not required any more … … 578 582 CHARACTER(LEN=100) :: line !< dummy string that contains the current line of the parameter 579 583 !< file 584 580 585 INTEGER(iwp) :: io_status !< status after reading the namelist file 581 586 587 LOGICAL :: switch_off_module = .FALSE. !< local namelist parameter to switch off the module 588 !< although the respective module namelist appears in 589 !< the namelist file 582 590 583 591 NAMELIST /ocean_parameters/ bc_sa_t, & … … 590 598 stokes_wavelength, & 591 599 surface_cooling_spinup_time, & 600 switch_off_module, & 592 601 top_salinityflux, & 593 602 wall_salinityflux, & … … 606 615 !-- ocean_parameters namelist was found and read correctly. Set switch that enables PALM's ocean 607 616 !-- mode. 608 ocean_mode = .TRUE.617 IF ( .NOT. switch_off_module ) ocean_mode = .TRUE. 609 618 610 619 ELSEIF ( io_status > 0 ) THEN
Note: See TracChangeset
for help on using the changeset viewer.