Changeset 2934 for palm/trunk/SOURCE/check_parameters.f90
- Timestamp:
- Mar 26, 2018 7:13:22 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/check_parameters.f90
r2932 r2934 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Check spinup in case of nested runs, spinup time and timestep must be 28 ! identical to assure synchronuous simulations. 29 ! 30 ! 2932 2018-03-26 09:39:22Z maronga 27 31 ! renamed particles_par to particle_parameters 28 32 ! … … 703 707 LOGICAL :: found !< 704 708 709 REAL(wp) :: dt_spinup_max !< maximum spinup timestep in nested domains 705 710 REAL(wp) :: dum !< 706 711 REAL(wp) :: gradient !< 707 712 REAL(wp) :: remote = 0.0_wp !< 713 REAL(wp) :: spinup_time_max !< maximum spinup time in nested domains 708 714 REAL(wp) :: time_to_be_simulated_from_reference_point !< 709 715 … … 1397 1403 #endif 1398 1404 ENDIF 1405 ! 1406 !-- In case of spinup and nested run, spinup end time must be identical 1407 !-- in order to have synchronously running simulations. 1408 IF ( nested_run .AND. spinup ) THEN 1409 #if defined( __parallel ) 1410 CALL MPI_ALLREDUCE( spinup_time, spinup_time_max, 1, MPI_REAL, & 1411 MPI_MAX, MPI_COMM_WORLD, ierr ) 1412 CALL MPI_ALLREDUCE( dt_spinup, dt_spinup_max, 1, MPI_REAL, & 1413 MPI_MAX, MPI_COMM_WORLD, ierr ) 1414 1415 IF ( spinup_time /= spinup_time_max .OR. dt_spinup /= dt_spinup_max ) & 1416 THEN 1417 message_string = 'In case of nesting, spinup_time and ' // & 1418 'dt_spinup must be identical in all parent ' // & 1419 'and child domains.' 1420 CALL message( 'check_parameters', 'PA0489', 3, 2, 0, 6, 0 ) 1421 ENDIF 1422 #endif 1423 ENDIF 1399 1424 1400 1425 IF ( cloud_physics .AND. .NOT. humidity ) THEN
Note: See TracChangeset
for help on using the changeset viewer.