Changeset 4865 for palm/trunk


Ignore:
Timestamp:
Feb 3, 2021 11:51:40 AM (4 years ago)
Author:
schwenkel
Message:

Remove unnecessary interface decalrations and public statments for private routines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/lagrangian_particle_model_mod.f90

    r4843 r4865  
    2424! -----------------
    2525! $Id$
     26! Remove unnecessary interface decalrations and public statments for private routines
     27!
     28! 4843 2021-01-15 15:22:11Z raasch
    2629! local namelist parameter added to switch off the module although the respective module namelist
    2730! appears in the namelist file
     
    435438           lpm_header,                                                                             &
    436439           lpm_init,                                                                               &
    437            lpm_interaction_droplets_ptq,                                                           &
    438440           lpm_init_arrays,                                                                        &
    439441           lpm_last_actions,                                                                       &
     
    441443           lpm_rrd_global,                                                                         &
    442444           lpm_rrd_local,                                                                          &
    443            lpm_rrd_local_particles,                                                                &
    444445           lpm_wrd_global,                                                                         &
    445446           lpm_wrd_local
     
    495496    END INTERFACE lpm_wrd_global
    496497
    497     INTERFACE lpm_advec
    498        MODULE PROCEDURE lpm_advec
    499     END INTERFACE lpm_advec
    500 
    501     INTERFACE lpm_calc_liquid_water_content
    502        MODULE PROCEDURE lpm_calc_liquid_water_content
    503     END INTERFACE
    504 
    505     INTERFACE lpm_interaction_droplets_ptq
    506        MODULE PROCEDURE lpm_interaction_droplets_ptq
    507        MODULE PROCEDURE lpm_interaction_droplets_ptq_ij
    508     END INTERFACE lpm_interaction_droplets_ptq
    509 
    510     INTERFACE lpm_boundary_conds
    511        MODULE PROCEDURE lpm_boundary_conds
    512     END INTERFACE lpm_boundary_conds
    513 
    514     INTERFACE lpm_droplet_condensation
    515        MODULE PROCEDURE lpm_droplet_condensation
    516     END INTERFACE
    517 
    518     INTERFACE lpm_droplet_collision
    519        MODULE PROCEDURE lpm_droplet_collision
    520     END INTERFACE lpm_droplet_collision
    521 
    522     INTERFACE lpm_init_kernels
    523        MODULE PROCEDURE lpm_init_kernels
    524     END INTERFACE lpm_init_kernels
    525 
    526     INTERFACE lpm_splitting
    527        MODULE PROCEDURE lpm_splitting
    528     END INTERFACE lpm_splitting
    529 
    530     INTERFACE lpm_merging
    531        MODULE PROCEDURE lpm_merging
    532     END INTERFACE lpm_merging
    533 
    534     INTERFACE lpm_exchange_horiz
    535        MODULE PROCEDURE lpm_exchange_horiz
    536     END INTERFACE lpm_exchange_horiz
    537 
    538498    INTERFACE lpm_exchange_horiz_bounds
    539499       MODULE PROCEDURE lpm_exchange_horiz_bounds
    540500    END INTERFACE lpm_exchange_horiz_bounds
    541501
    542     INTERFACE lpm_move_particle
    543        MODULE PROCEDURE lpm_move_particle
    544     END INTERFACE lpm_move_particle
    545 
    546     INTERFACE realloc_particles_array
    547        MODULE PROCEDURE realloc_particles_array
    548     END INTERFACE realloc_particles_array
    549 
    550     INTERFACE dealloc_particles_array
    551        MODULE PROCEDURE dealloc_particles_array
    552     END INTERFACE dealloc_particles_array
    553 
    554502    INTERFACE lpm_last_actions
    555503       MODULE PROCEDURE lpm_last_actions
    556504    END INTERFACE lpm_last_actions
    557505
    558     INTERFACE lpm_sort_and_delete
    559        MODULE PROCEDURE lpm_sort_and_delete
    560     END INTERFACE lpm_sort_and_delete
    561 
    562     INTERFACE lpm_sort_timeloop_done
    563        MODULE PROCEDURE lpm_sort_timeloop_done
    564     END INTERFACE lpm_sort_timeloop_done
    565 
    566     INTERFACE lpm_pack
    567        MODULE PROCEDURE lpm_pack
    568     END INTERFACE lpm_pack
    569506
    570507 CONTAINS
     
    55375474!> Call for grid point i,j
    55385475!--------------------------------------------------------------------------------------------------!
    5539  SUBROUTINE lpm_interaction_droplets_ptq_ij( i, j )
    5540 
    5541     INTEGER(iwp) ::  i    !< running index x direction
    5542     INTEGER(iwp) ::  j    !< running index y direction
    5543     INTEGER(iwp) ::  k    !< running index z direction
    5544 
    5545     REAL(wp) ::  flag     !< flag to mask topography grid points
    5546 
    5547 
    5548     DO  k = nzb+1, nzt
    5549 !
    5550 !--    Predetermine flag to mask topography
    5551        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) * flag
    5554        pt(k,j,i) = pt(k,j,i) + lv_d_cp * ql_c(k,j,i) * d_exner(k) * flag
    5555     ENDDO
    5556 
    5557  END SUBROUTINE lpm_interaction_droplets_ptq_ij
     5476! 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
    55585495
    55595496
Note: See TracChangeset for help on using the changeset viewer.