Changeset 4865
- Timestamp:
- Feb 3, 2021 11:51:40 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/lagrangian_particle_model_mod.f90
r4843 r4865 24 24 ! ----------------- 25 25 ! $Id$ 26 ! Remove unnecessary interface decalrations and public statments for private routines 27 ! 28 ! 4843 2021-01-15 15:22:11Z raasch 26 29 ! local namelist parameter added to switch off the module although the respective module namelist 27 30 ! appears in the namelist file … … 435 438 lpm_header, & 436 439 lpm_init, & 437 lpm_interaction_droplets_ptq, &438 440 lpm_init_arrays, & 439 441 lpm_last_actions, & … … 441 443 lpm_rrd_global, & 442 444 lpm_rrd_local, & 443 lpm_rrd_local_particles, &444 445 lpm_wrd_global, & 445 446 lpm_wrd_local … … 495 496 END INTERFACE lpm_wrd_global 496 497 497 INTERFACE lpm_advec498 MODULE PROCEDURE lpm_advec499 END INTERFACE lpm_advec500 501 INTERFACE lpm_calc_liquid_water_content502 MODULE PROCEDURE lpm_calc_liquid_water_content503 END INTERFACE504 505 INTERFACE lpm_interaction_droplets_ptq506 MODULE PROCEDURE lpm_interaction_droplets_ptq507 MODULE PROCEDURE lpm_interaction_droplets_ptq_ij508 END INTERFACE lpm_interaction_droplets_ptq509 510 INTERFACE lpm_boundary_conds511 MODULE PROCEDURE lpm_boundary_conds512 END INTERFACE lpm_boundary_conds513 514 INTERFACE lpm_droplet_condensation515 MODULE PROCEDURE lpm_droplet_condensation516 END INTERFACE517 518 INTERFACE lpm_droplet_collision519 MODULE PROCEDURE lpm_droplet_collision520 END INTERFACE lpm_droplet_collision521 522 INTERFACE lpm_init_kernels523 MODULE PROCEDURE lpm_init_kernels524 END INTERFACE lpm_init_kernels525 526 INTERFACE lpm_splitting527 MODULE PROCEDURE lpm_splitting528 END INTERFACE lpm_splitting529 530 INTERFACE lpm_merging531 MODULE PROCEDURE lpm_merging532 END INTERFACE lpm_merging533 534 INTERFACE lpm_exchange_horiz535 MODULE PROCEDURE lpm_exchange_horiz536 END INTERFACE lpm_exchange_horiz537 538 498 INTERFACE lpm_exchange_horiz_bounds 539 499 MODULE PROCEDURE lpm_exchange_horiz_bounds 540 500 END INTERFACE lpm_exchange_horiz_bounds 541 501 542 INTERFACE lpm_move_particle543 MODULE PROCEDURE lpm_move_particle544 END INTERFACE lpm_move_particle545 546 INTERFACE realloc_particles_array547 MODULE PROCEDURE realloc_particles_array548 END INTERFACE realloc_particles_array549 550 INTERFACE dealloc_particles_array551 MODULE PROCEDURE dealloc_particles_array552 END INTERFACE dealloc_particles_array553 554 502 INTERFACE lpm_last_actions 555 503 MODULE PROCEDURE lpm_last_actions 556 504 END INTERFACE lpm_last_actions 557 505 558 INTERFACE lpm_sort_and_delete559 MODULE PROCEDURE lpm_sort_and_delete560 END INTERFACE lpm_sort_and_delete561 562 INTERFACE lpm_sort_timeloop_done563 MODULE PROCEDURE lpm_sort_timeloop_done564 END INTERFACE lpm_sort_timeloop_done565 566 INTERFACE lpm_pack567 MODULE PROCEDURE lpm_pack568 END INTERFACE lpm_pack569 506 570 507 CONTAINS … … 5537 5474 !> Call for grid point i,j 5538 5475 !--------------------------------------------------------------------------------------------------! 5539 SUBROUTINE lpm_interaction_droplets_ptq_ij( i, j )5540 5541 INTEGER(iwp) :: i !< running index x direction5542 INTEGER(iwp) :: j !< running index y direction5543 INTEGER(iwp) :: k !< running index z direction5544 5545 REAL(wp) :: flag !< flag to mask topography grid points5546 5547 5548 DO k = nzb+1, nzt5549 ! 5550 ! -- Predetermine flag to mask topography5551 flag = MERGE( 1.0_wp, 0.0_wp, BTEST( wall_flags_total_0(k,j,i), 0 ) )5552 5553 q(k,j,i) = q(k,j,i) - ql_c(k,j,i) * flag5554 pt(k,j,i) = pt(k,j,i) + lv_d_cp * ql_c(k,j,i) * d_exner(k) * flag5555 ENDDO5556 5557 END SUBROUTINE lpm_interaction_droplets_ptq_ij5476 ! SUBROUTINE lpm_interaction_droplets_ptq_ij( i, j ) 5477 ! 5478 ! INTEGER(iwp) :: i !< running index x direction 5479 ! INTEGER(iwp) :: j !< running index y direction 5480 ! INTEGER(iwp) :: k !< running index z direction 5481 ! 5482 ! REAL(wp) :: flag !< flag to mask topography grid points 5483 ! 5484 ! 5485 ! DO k = nzb+1, nzt 5486 ! ! 5487 ! !-- Predetermine flag to mask topography 5488 ! flag = MERGE( 1.0_wp, 0.0_wp, BTEST( wall_flags_total_0(k,j,i), 0 ) ) 5489 ! 5490 ! q(k,j,i) = q(k,j,i) - ql_c(k,j,i) * flag 5491 ! pt(k,j,i) = pt(k,j,i) + lv_d_cp * ql_c(k,j,i) * d_exner(k) * flag 5492 ! ENDDO 5493 ! 5494 ! END SUBROUTINE lpm_interaction_droplets_ptq_ij 5558 5495 5559 5496
Note: See TracChangeset
for help on using the changeset viewer.