Changeset 4851
- Timestamp:
- Jan 22, 2021 9:25:05 AM (4 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/dynamics_mod.f90
r4845 r4851 24 24 ! ----------------- 25 25 ! $Id$ 26 ! bugfix: deactivated header output 27 ! 28 ! 4845 2021-01-18 11:15:37Z raasch 26 29 ! radiation boundary condition always uses maximum phase velocity, respective code for calculating 27 30 ! the phase velocity is removed … … 352 355 !< although the respective module namelist appears in 353 356 !< the namelist file 354 357 355 358 NAMELIST /dynamics_parameters/ switch_off_module 356 359 … … 639 642 640 643 641 INTEGER(iwp) :: io !< 642 643 ! 644 !-- If no module-specific variables are read from the namelist-file, no information will be printed. 645 IF ( .NOT. dynamics_module_enabled ) THEN 646 WRITE ( io, 100 ) 647 RETURN 648 ENDIF 649 650 ! 651 !-- Printing the information. 652 WRITE ( io, 110 ) 644 INTEGER(iwp) :: io !< output-file id 645 646 ! 647 !-- Write dynamics module header 648 !-- NOTE: Deactivated because no relevant information to write so far 649 IF ( .FALSE. ) WRITE ( io, 100 ) 653 650 654 651 ! 655 652 !-- Format-descriptors 656 100 FORMAT (//' *** dynamic module disabled'/) 657 110 FORMAT (//1X,78('#') & 658 //' User-defined variables and actions:'/ & 653 100 FORMAT (//' Dynamics module information:'/ & 659 654 ' -----------------------------------'//) 660 655 -
palm/trunk/SOURCE/synthetic_turbulence_generator_mod.f90
r4848 r4851 25 25 ! ----------------- 26 26 ! $Id$ 27 ! formatting clean-up 28 ! 29 ! 4848 2021-01-21 15:51:51Z gronemeier 27 30 ! replaced use_syn_turb_gen by syn_turb_gen 28 31 ! … … 534 537 SUBROUTINE stg_check_parameters 535 538 536 IF ( .NOT. syn_turb_gen .AND. .NOT. rans_mode .AND. &539 IF ( .NOT. syn_turb_gen .AND. .NOT. rans_mode .AND. & 537 540 nesting_offline ) THEN 538 541 message_string = 'Synthetic turbulence generator is required ' // & … … 541 544 ENDIF 542 545 543 IF ( .NOT. syn_turb_gen .AND. child_domain &546 IF ( .NOT. syn_turb_gen .AND. child_domain & 544 547 .AND. rans_mode_parent .AND. .NOT. rans_mode ) THEN 545 548 message_string = 'Synthetic turbulence generator is required when nesting is applied ' // & … … 737 740 !-- Set-up MPI datatyp to involve all cores for turbulence generation at xz layer 738 741 !-- stg_type_xz: xz-slice with vertical bounds nzb:nzt+1 739 IF ( nesting_offline .OR. ( child_domain .AND. rans_mode_parent &740 .AND. .NOT. rans_mode ) ) THEN741 CALL MPI_TYPE_CREATE_SUBARRAY( 2, [nzt-nzb+2,nxr-nxl+1], &742 IF ( nesting_offline .OR. ( child_domain .AND. rans_mode_parent & 743 .AND. .NOT. rans_mode ) ) THEN 744 CALL MPI_TYPE_CREATE_SUBARRAY( 2, [nzt-nzb+2,nxr-nxl+1], & 742 745 [1,nxr-nxl+1], [0,0], MPI_ORDER_FORTRAN, MPI_REAL, newtype, ierr ) 743 746 CALL MPI_TYPE_CREATE_RESIZED( newtype, tob, extent, stg_type_xz, ierr ) … … 746 749 747 750 ! stg_type_yz_small: xz-slice with vertical bounds nzb_x_stg:nzt_x_stg+1 748 CALL MPI_TYPE_CREATE_SUBARRAY( 2, [nzt_y_stg-nzb_y_stg+2,nxr-nxl+1], &751 CALL MPI_TYPE_CREATE_SUBARRAY( 2, [nzt_y_stg-nzb_y_stg+2,nxr-nxl+1], & 749 752 [1,nxr-nxl+1], [0,0], MPI_ORDER_FORTRAN, MPI_REAL, newtype, ierr ) 750 753 CALL MPI_TYPE_CREATE_RESIZED( newtype, tob, extent, stg_type_xz_small, ierr )
Note: See TracChangeset
for help on using the changeset viewer.