- Timestamp:
- Oct 26, 2020 1:26:47 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/dynamics_mod.f90
r4757 r4760 522 522 REAL(wp) :: q_s !< saturation mixing ratio 523 523 REAL(wp) :: t_l !< actual temperature 524 REAL(wp) :: rh 524 REAL(wp) :: rh_check = 9999999.9_wp !< relative humidity 525 525 REAL(wp) :: rh_min = 9999999.9_wp !< max relative humidity 526 526 REAL(wp) :: height = 9999999.9_wp !< height of supersaturated regions … … 547 547 IF ( q(k,j,i) > 1.02_wp * q_s ) THEN 548 548 realistic_q = .FALSE. 549 rh = q(k,j,i) / q_s * 100.0_wp549 rh_check = q(k,j,i) / q_s * 100.0_wp 550 550 height = zu(k) 551 551 ENDIF … … 558 558 #if defined( __parallel ) 559 559 CALL MPI_ALLREDUCE( MPI_IN_PLACE, realistic_q, 1, MPI_LOGICAL, MPI_LAND, comm2d, ierr) 560 CALL MPI_ALLREDUCE( rh , rh_min, 1, MPI_REAL, MPI_MIN, comm2d, ierr )560 CALL MPI_ALLREDUCE( rh_check, rh_min, 1, MPI_REAL, MPI_MIN, comm2d, ierr ) 561 561 CALL MPI_ALLREDUCE( height, min_height, 1, MPI_REAL, MPI_MIN, comm2d, ierr ) 562 562 #endif
Note: See TracChangeset
for help on using the changeset viewer.