Changeset 4154 for palm/trunk/SOURCE
- Timestamp:
- Aug 13, 2019 1:35:59 PM (5 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/chem_emissions_mod.f90
r4144 r4154 27 27 ! ----------------- 28 28 ! $Id$ 29 ! Replace global arrays for emissions by local ones. 30 ! 31 ! 4144 2019-08-06 09:11:47Z raasch 29 32 ! relational operators .EQ., .NE., etc. replaced by ==, /=, etc. 30 33 ! … … 860 863 861 864 IF ( .NOT. ALLOCATED( emis_distribution) ) THEN 862 ALLOCATE( emis_distribution(1, 0:ny,0:nx,n_matched_vars) )865 ALLOCATE( emis_distribution(1,nys:nyn,nxl:nxr,n_matched_vars) ) 863 866 ENDIF 864 867 … … 868 871 869 872 IF ( .NOT. ALLOCATED( emis_distribution) ) THEN 870 ALLOCATE( emis_distribution(1, 0:ny,0:nx,n_matched_vars) )873 ALLOCATE( emis_distribution(1,nys:nyn,nxl:nxr,n_matched_vars) ) 871 874 ENDIF 872 875 … … 876 879 877 880 IF ( .NOT. ALLOCATED( emis_distribution) ) THEN 878 ALLOCATE( emis_distribution(nzb:nzt+1,0:ny,0:nx,n_matched_vars) ) 881 ! 882 !-- Note, at the moment emissions are considered only by surface fluxes 883 !-- rather than by volume sources. Therefore, no vertical dimension is 884 !-- required and is thus allocated with 1. Later when volume sources 885 !-- are considered, the vertical dimension will increase. 886 !ALLOCATE( emis_distribution(nzb:nzt+1,nys:nyn,nxl:nxr,n_matched_vars) ) 887 ALLOCATE( emis_distribution(1,nys:nyn,nxl:nxr,n_matched_vars) ) 879 888 ENDIF 880 889 -
palm/trunk/SOURCE/chemistry_model_mod.f90
r4115 r4154 27 27 ! ----------------- 28 28 ! $Id$ 29 ! Bugfix in decycling 30 ! 31 ! 4115 2019-07-24 12:50:49Z suehring 29 32 ! Fix faulty IF statement in decycling initialization 30 33 ! … … 2729 2732 DO WHILE ( TRIM( cs_name( lsp_usr ) ) /= 'novalue' ) 2730 2733 IF ( TRIM(chem_species(lsp)%name) == TRIM(cs_name(lsp_usr)) ) THEN 2731 2732 CALL chem_boundary_conds( chem_species(lsp)%conc_p, & 2733 chem_species(lsp)%conc_pr_init ) 2734 ! 2735 !-- As chem_exchange_horiz_bounds is called at the beginning 2736 !-- of prognostic_equations, boundary conditions are set on 2737 !-- %conc. 2738 CALL chem_boundary_conds( chem_species(lsp)%conc, & 2739 chem_species(lsp)%conc_pr_init ) 2734 2740 2735 2741 ENDIF 2736 lsp_usr = lsp_usr + 12742 lsp_usr = lsp_usr + 1 2737 2743 ENDDO 2738 2744
Note: See TracChangeset
for help on using the changeset viewer.