- Timestamp:
- Jun 13, 2019 12:21:37 PM (5 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/init_3d_model.f90
r4017 r4028 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Further modularization of particle code components 28 ! 29 ! 4017 2019-06-06 12:16:46Z schwenkel 27 30 ! Convert most location messages to debug messages to reduce output in 28 31 ! job logfile to a minimum … … 815 818 q_3(nzb:nzt+1,nysg:nyng,nxlg:nxrg), & 816 819 vpt_1(nzb:nzt+1,nysg:nyng,nxlg:nxrg) ) 817 818 IF ( cloud_droplets ) THEN819 !820 !-- Liquid water content, change in liquid water content821 ALLOCATE ( ql_1(nzb:nzt+1,nysg:nyng,nxlg:nxrg), &822 ql_2(nzb:nzt+1,nysg:nyng,nxlg:nxrg) )823 !824 !-- Real volume of particles (with weighting), volume of particles825 ALLOCATE ( ql_v(nzb:nzt+1,nysg:nyng,nxlg:nxrg), &826 ql_vp(nzb:nzt+1,nysg:nyng,nxlg:nxrg) )827 ENDIF828 829 820 ENDIF 830 821 … … 1054 1045 q => q_1; q_p => q_2; tq_m => q_3 1055 1046 vpt => vpt_1 1056 IF ( cloud_droplets ) THEN1057 ql => ql_11058 ql_c => ql_21059 ENDIF1060 1047 ENDIF 1061 1048 -
palm/trunk/SOURCE/lagrangian_particle_model_mod.f90
r4020 r4028 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Further modularization of particle code components 28 ! 29 ! 4020 2019-06-06 14:57:48Z schwenkel 27 30 ! Removing submodules 28 31 ! … … 162 165 USE arrays_3d, & 163 166 ONLY: de_dx, de_dy, de_dz, dzw, zu, zw, ql_c, ql_v, ql_vp, hyp, & 164 pt, q, exner, ql, diss, e, u, v, w, km 167 pt, q, exner, ql, diss, e, u, v, w, km, ql_1, ql_2 165 168 166 169 USE averaging, & … … 354 357 PUBLIC lpm_parin, & 355 358 lpm_header, & 359 lpm_init_arrays,& 356 360 lpm_init, & 357 361 lpm_actions, & … … 386 390 END INTERFACE lpm_header 387 391 392 INTERFACE lpm_init_arrays 393 MODULE PROCEDURE lpm_init_arrays 394 END INTERFACE lpm_init_arrays 395 388 396 INTERFACE lpm_init 389 397 MODULE PROCEDURE lpm_init … … 829 837 ! Description: 830 838 ! ------------ 839 !> Initialize arrays for lpm 840 !------------------------------------------------------------------------------! 841 SUBROUTINE lpm_init_arrays 842 843 IF ( cloud_droplets ) THEN 844 ! 845 !-- Liquid water content, change in liquid water content 846 ALLOCATE ( ql_1(nzb:nzt+1,nysg:nyng,nxlg:nxrg), & 847 ql_2(nzb:nzt+1,nysg:nyng,nxlg:nxrg) ) 848 ! 849 !-- Real volume of particles (with weighting), volume of particles 850 ALLOCATE ( ql_v(nzb:nzt+1,nysg:nyng,nxlg:nxrg), & 851 ql_vp(nzb:nzt+1,nysg:nyng,nxlg:nxrg) ) 852 ENDIF 853 854 ! 855 !-- Initial assignment of the pointers 856 IF ( cloud_droplets ) THEN 857 ql => ql_1 858 ql_c => ql_2 859 ENDIF 860 861 END SUBROUTINE lpm_init_arrays 862 863 !------------------------------------------------------------------------------! 864 ! Description: 865 ! ------------ 831 866 !> Initialize Lagrangian particle model 832 867 !------------------------------------------------------------------------------! -
palm/trunk/SOURCE/module_interface.f90
r4017 r4028 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Further modularization of particle code components 28 ! 29 ! 4017 2019-06-06 12:16:46Z schwenkel 27 30 ! local_pf need INTENT(INOUT) attribute rather than INTENT(OUT). This is 28 31 ! because INTENT(OUT) sets the array to not-defined. Especially for outputs that … … 247 250 lpm_header, & 248 251 lpm_check_parameters, & 252 lpm_init_arrays, & 249 253 lpm_init, & 250 254 lpm_actions, & … … 880 884 IF ( air_chemistry ) CALL chem_init_arrays 881 885 IF ( gust_module_enabled ) CALL gust_init_arrays 886 IF ( particle_advection ) CALL lpm_init_arrays 882 887 IF ( land_surface ) CALL lsm_init_arrays 883 888 IF ( ocean_mode ) CALL ocean_init_arrays
Note: See TracChangeset
for help on using the changeset viewer.