Changeset 4771 for palm/trunk/SOURCE/pmc_handle_communicator_mod.f90
- Timestamp:
- Nov 4, 2020 1:12:46 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/pmc_handle_communicator_mod.f90
r4650 r4771 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Canopy-restricted anterpolation introduced. New namelist parameter anterpolation_starting_height 28 ! introduced for controlling canopy-restricted anterpolation. 29 ! 30 ! 4650 2020-08-25 14:35:50Z raasch 27 31 ! bugfix for r4649 28 32 ! … … 138 142 !--------------------------------------------------------------------------------------------------! 139 143 SUBROUTINE pmc_init_model( comm, nesting_datatransfer_mode, nesting_mode, & 140 anterpolation_buffer_width, pmc_status )144 anterpolation_buffer_width, anterpolation_starting_height, pmc_status ) 141 145 142 146 USE control_parameters, & … … 155 159 INTEGER, INTENT(INOUT) :: pmc_status !< 156 160 161 REAL(wp), INTENT(INOUT) :: anterpolation_starting_height !< steering parameter for canopy restricted anterpolation 162 157 163 INTEGER :: childcount !< 158 164 INTEGER :: i !< … … 180 186 181 187 CALL read_coupling_layout( nesting_datatransfer_mode, nesting_mode, & 182 anterpolation_buffer_width, pmc_status ) 188 anterpolation_buffer_width, anterpolation_starting_height, & 189 pmc_status ) 183 190 184 191 IF ( pmc_status /= pmc_no_namelist_found .AND. & … … 252 259 MPI_COMM_WORLD, istat ) 253 260 CALL MPI_BCAST( anterpolation_buffer_width, 1, MPI_INT, 0, MPI_COMM_WORLD, istat ) 261 CALL MPI_BCAST( anterpolation_starting_height, 1, MPI_REAL, 0, MPI_COMM_WORLD, istat ) 254 262 ! 255 263 !-- Assign global MPI processes to individual models by setting the couple id … … 422 430 !--------------------------------------------------------------------------------------------------! 423 431 SUBROUTINE read_coupling_layout( nesting_datatransfer_mode, nesting_mode, & 424 anterpolation_buffer_width, pmc_status ) 432 anterpolation_buffer_width, anterpolation_starting_height, & 433 pmc_status ) 425 434 426 435 IMPLICIT NONE … … 431 440 INTEGER, INTENT(INOUT) :: anterpolation_buffer_width !< Boundary buffer width for anterpolation 432 441 INTEGER(iwp), INTENT(INOUT) :: pmc_status !< 442 443 REAL(wp), INTENT(INOUT) :: anterpolation_starting_height !< steering parameter for canopy restricted anterpolation 433 444 434 445 INTEGER(iwp) :: bad_llcorner !< … … 441 452 nesting_datatransfer_mode, & 442 453 nesting_mode, & 443 anterpolation_buffer_width 454 anterpolation_buffer_width, & 455 anterpolation_starting_height 444 456 445 457 !
Note: See TracChangeset
for help on using the changeset viewer.