- Timestamp:
- Jan 16, 2018 6:11:14 PM (7 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/chemistry_model_mod.f90
r2718 r2756 27 27 ! ----------------- 28 28 ! $Id$ 29 ! Fill values in 3D output introduced. 30 ! 31 ! 2718 2018-01-02 08:49:38Z maronga 29 32 ! Initial revision 30 33 ! … … 1200 1203 1201 1204 1202 SUBROUTINE chem_data_output_3d( av, variable, found, local_pf )1205 SUBROUTINE chem_data_output_3d( av, variable, found, local_pf, fill_value ) 1203 1206 1204 1207 … … 1213 1216 LOGICAL :: found !< 1214 1217 INTEGER(iwp) :: av !< 1215 REAL(sp), DIMENSION(nxl:nxr,nys:nyn,nzb:nzt+1) :: local_pf !< 1218 1219 REAL(wp) :: fill_value !< 1220 REAL(sp), DIMENSION(nxl:nxr,nys:nyn,nzb:nzt+1) :: local_pf 1221 1216 1222 1217 1223 !-- local variables … … 1234 1240 DO j = nys, nyn 1235 1241 DO k = nzb, nzt+1 1236 local_pf(i,j,k) = chem_species(lsp)%conc(k,j,i) 1242 local_pf(i,j,k) = MERGE( & 1243 chem_species(lsp)%conc(k,j,i), & 1244 REAL( fill_value, KIND = wp ), & 1245 BTEST( wall_flags_0(k,j,i), 0 ) ) 1237 1246 ENDDO 1238 1247 ENDDO … … 1243 1252 DO j = nys, nyn 1244 1253 DO k = nzb, nzt+1 1245 local_pf(i,j,k) = chem_species(lsp)%conc_av(k,j,i) 1254 local_pf(i,j,k) = MERGE( & 1255 chem_species(lsp)%conc_av(k,j,i),& 1256 REAL( fill_value, KIND = wp ), & 1257 BTEST( wall_flags_0(k,j,i), 0 ) ) 1246 1258 ENDDO 1247 1259 ENDDO -
palm/trunk/SOURCE/data_output_3d.f90
r2746 r2756 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Fill values for 3D output of chemical species introduced. 28 ! 29 ! 2746 2018-01-15 12:06:04Z suehring 27 30 ! Move flag plant canopy to modules 28 31 ! … … 680 683 IF ( .NOT. found .AND. air_chemistry ) THEN 681 684 CALL chem_data_output_3d( av, do3d(av,if), found, & 682 local_pf )685 local_pf, fill_value ) 683 686 resorted = .TRUE. 684 687 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.