Changeset 4883 for palm/trunk/SOURCE/pmc_handle_communicator_mod.f90
- Timestamp:
- Feb 23, 2021 4:32:41 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/pmc_handle_communicator_mod.f90
r4843 r4883 25 25 ! ----------------- 26 26 ! $Id$ 27 ! User switch for particle coupling added 28 ! 29 ! 4843 2021-01-15 15:22:11Z raasch 27 30 ! local namelist parameter added to switch off the module although the respective module namelist 28 31 ! appears in the namelist file … … 146 149 !--------------------------------------------------------------------------------------------------! 147 150 SUBROUTINE pmc_init_model( comm, nesting_datatransfer_mode, nesting_mode, & 148 anterpolation_buffer_width, anterpolation_starting_height, pmc_status ) 151 anterpolation_buffer_width, anterpolation_starting_height, & 152 particle_coupling, pmc_status ) 149 153 150 154 USE control_parameters, & … … 154 158 ONLY: myid 155 159 156 160 IMPLICIT NONE 157 161 158 162 CHARACTER(LEN=7), INTENT(INOUT) :: nesting_datatransfer_mode !< … … 164 168 165 169 REAL(wp), INTENT(INOUT) :: anterpolation_starting_height !< steering parameter for canopy restricted anterpolation 170 LOGICAL, INTENT(INOUT) :: particle_coupling !< switch for particle coupling (default .TRUE.) 166 171 167 172 INTEGER :: childcount !< … … 190 195 191 196 CALL read_coupling_layout( nesting_datatransfer_mode, nesting_mode, & 192 anterpolation_buffer_width, anterpolation_starting_height, 197 anterpolation_buffer_width, anterpolation_starting_height, particle_coupling, & 193 198 pmc_status ) 194 199 … … 264 269 CALL MPI_BCAST( anterpolation_buffer_width, 1, MPI_INT, 0, MPI_COMM_WORLD, istat ) 265 270 CALL MPI_BCAST( anterpolation_starting_height, 1, MPI_REAL, 0, MPI_COMM_WORLD, istat ) 271 CALL MPI_BCAST( particle_coupling, 1, MPI_LOGICAL, 0, MPI_COMM_WORLD, istat ) 266 272 ! 267 273 !-- Assign global MPI processes to individual models by setting the couple id … … 435 441 SUBROUTINE read_coupling_layout( nesting_datatransfer_mode, nesting_mode, & 436 442 anterpolation_buffer_width, anterpolation_starting_height, & 437 p mc_status )443 particle_coupling, pmc_status ) 438 444 439 445 IMPLICIT NONE … … 446 452 447 453 REAL(wp), INTENT(INOUT) :: anterpolation_starting_height !< steering parameter for canopy restricted anterpolation 454 LOGICAL, INTENT(INOUT) :: particle_coupling !< switch for particle coupling (default .TRUE.) 448 455 449 456 INTEGER(iwp) :: bad_llcorner !< … … 462 469 nesting_datatransfer_mode, & 463 470 nesting_mode, & 464 switch_off_module 471 switch_off_module, & 472 particle_coupling 465 473 466 474
Note: See TracChangeset
for help on using the changeset viewer.