Changeset 3897 for palm/trunk/SOURCE/chemistry_model_mod.f90
- Timestamp:
- Apr 15, 2019 11:51:14 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/chemistry_model_mod.f90
r3889 r3897 27 27 ! ----------------- 28 28 ! $Id: chemistry_model_mod.f90 3784 2019-03-05 14:16:20Z banzhafs 29 ! 2D output of emission fluxes 30 ! 31 ! 3784 2019-03-05 14:16:20Z banzhafs 29 32 ! Bugfix, uncomment erroneous commented variable used for dry deposition. 30 33 ! Bugfix in 3D emission output. … … 1315 1318 INTEGER(iwp) :: j !< grid index along y-direction 1316 1319 INTEGER(iwp) :: k !< grid index along z-direction 1320 INTEGER(iwp) :: l !< running index for orientation of surface elements 1321 INTEGER(iwp) :: m !< running indices for surfaces 1317 1322 INTEGER(iwp) :: char_len !< length of a character string 1318 1323 ! … … 1324 1329 1325 1330 spec_name = TRIM( variable(4:char_len-3) ) 1331 ! 1332 !-- Output of emission values, i.e. surface fluxes cssws. 1333 IF ( variable(1:3) == 'em_' ) THEN 1334 1335 local_pf = 0.0_wp 1336 1337 DO lsp = 1, nvar 1338 IF ( TRIM( spec_name ) == TRIM( chem_species(lsp)%name) ) THEN 1339 ! 1340 !-- No average output for now. 1341 DO m = 1, surf_lsm_h%ns 1342 local_pf(surf_lsm_h%i(m),surf_lsm_h%j(m),nzb+1) = & 1343 local_pf(surf_lsm_h%i(m),surf_lsm_h%j(m),nzb+1) & 1344 + surf_lsm_h%cssws(lsp,m) 1345 ENDDO 1346 DO m = 1, surf_usm_h%ns 1347 local_pf(surf_usm_h%i(m),surf_usm_h%j(m),nzb+1) = & 1348 local_pf(surf_usm_h%i(m),surf_usm_h%j(m),nzb+1) & 1349 + surf_usm_h%cssws(lsp,m) 1350 ENDDO 1351 grid = 'zu' 1352 found = .TRUE. 1353 ENDIF 1354 ENDDO 1355 1356 ELSE 1326 1357 1327 1358 DO lsp=1,nspec … … 1362 1393 ENDIF 1363 1394 ENDDO 1364 1365 RETURN 1395 ENDIF 1396 1397 RETURN 1366 1398 1367 1399 END SUBROUTINE chem_data_output_2d
Note: See TracChangeset
for help on using the changeset viewer.