Changeset 4069 for palm/trunk/SOURCE/chemistry_model_mod.f90
- Timestamp:
- Jul 1, 2019 2:05:51 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/chemistry_model_mod.f90
r4029 r4069 27 27 ! ----------------- 28 28 ! $Id$ 29 ! Masked output running index mid has been introduced as a local variable to 30 ! avoid runtime error (Loop variable has been modified) in time_integration 31 ! 32 ! 4029 2019-06-14 14:04:35Z raasch 29 33 ! nest_chemistry option removed 30 34 ! … … 1510 1514 !> Subroutine defining mask output variables for chemical species 1511 1515 !------------------------------------------------------------------------------! 1512 SUBROUTINE chem_data_output_mask( av, variable, found, local_pf )1516 SUBROUTINE chem_data_output_mask( av, variable, found, local_pf, mid ) 1513 1517 1514 1518 … … 1520 1524 1521 1525 CHARACTER(LEN=5) :: grid !< flag to distinquish between staggered grids 1526 CHARACTER(LEN=16) :: spec_name 1522 1527 CHARACTER(LEN=*) :: variable !< 1523 INTEGER(iwp) :: av !< flag to control data output of instantaneous or time-averaged data 1524 LOGICAL :: found 1525 REAL(wp), DIMENSION(mask_size_l(mid,1),mask_size_l(mid,2),mask_size_l(mid,3)) :: & 1526 local_pf !< 1527 ! 1528 !-- local variables. 1529 CHARACTER(LEN=16) :: spec_name 1528 1529 INTEGER(iwp) :: av !< flag to control data output of instantaneous or time-averaged data 1530 1530 INTEGER(iwp) :: lsp 1531 1531 INTEGER(iwp) :: i !< grid index along x-direction 1532 1532 INTEGER(iwp) :: j !< grid index along y-direction 1533 1533 INTEGER(iwp) :: k !< grid index along z-direction 1534 INTEGER(iwp) :: mid !< masked output running index 1534 1535 INTEGER(iwp) :: topo_top_ind !< k index of highest horizontal surface 1536 1537 LOGICAL :: found 1538 1539 REAL(wp), DIMENSION(mask_size_l(mid,1),mask_size_l(mid,2),mask_size_l(mid,3)) :: & 1540 local_pf !< 1541 ! 1542 !-- local variables. 1535 1543 1536 1544 found = .TRUE.
Note: See TracChangeset
for help on using the changeset viewer.