!-------------------------------------- LICENCE BEGIN ------------------------------------
!Environment Canada - Atmospheric Science and Technology License/Disclaimer, 
!                     version 3; Last Modified: May 7, 2008.
!This is free but copyrighted software; you can use/redistribute/modify it under the terms 
!of the Environment Canada - Atmospheric Science and Technology License/Disclaimer 
!version 3 or (at your option) any later version that should be found at: 
!http://collaboration.cmc.ec.gc.ca/science/rpn.comm/license.html 
!
!This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; 
!without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
!See the above mentioned License/Disclaimer for more details.
!You should have received a copy of the License/Disclaimer along with this software; 
!if not, you can write to: EC-RPN COMM Group, 2121 TransCanada, suite 500, Dorval (Quebec), 
!CANADA, H9P 1J3; or send e-mail to service.rpn@ec.gc.ca
!-------------------------------------- LICENCE END --------------------------------------
#if defined (DOC)
*
***comdeck outc.cdk
*
*______________________________________________________________________
*                                                                      |
*  VARIABLES ASSOCIATED WITH OUTPUT FOR CHEMISTRY VARIABLES            |
*______________________________________________________________________|
*                    |                                                 |
* NAME               | DESCRIPTION                                     |
*--------------------|-------------------------------------------------|
* Outc_sets          | The total number of sets of output variables    |
*                    | requested from the chemistry                    |
* Outc_var_S         | A table containing "Outc_sets" sets of output   |
*                    | variables requested from the chemistry          |
* Outc_varnm_S       | A table containing "Outc_sets" sets of output   |
*                    | variables (longname) requested from the chem    |
* Outc_nbit          | A table containing "Outc_sets" sets of compact  |
*                    | bit corresponding to Outc_var_S                 |
* Outc_filtpass      | A table containing "Outc_sets" sets of filter   |
*                    | pass corresponding to Outc_var_S                |
* Outc_filtcoef      | A table containing "Outc_sets" sets of filter   |
*                    | coef corresponding to Outc_var_S                |
* Outc_var_max       | Outc_var_max(j) is the total number of requested|
*                    | output variables in each set Outc_var(*,j)      |
* Outc_lev           | Outc_lev(j) contains the index that indicates   |
*                    | the Level set to use for Outc_var(*,j)          |
* Outc_grid          | Outc_grid(j) contains the index that indicates  |
*                    | the Grid set to use for Outc_var(*,j)           |
* Outc_step          | Outc_step(i) contains the index that indicates  |
*                    | the Step set to use for Outc_var(*,j)           |
*----------------------------------------------------------------------
*
#endif

      character*4 Outc_var_S(MAXELEM,MAXSET)
      character*16 Outc_varnm_S(MAXELEM,MAXSET)
      logical Outc_dostep_L(MAXSET)
      integer Outc_nbit(MAXELEM,MAXSET)
      integer Outc_filtpass(MAXELEM,MAXSET)
      real    Outc_filtcoef(MAXELEM,MAXSET)
      integer Outc_lev(MAXSET)
      integer Outc_grid(MAXSET)
      integer Outc_step(MAXSET)
      integer Outc_var_max(MAXSET)
      integer Outc_sets

      COMMON /Outc_l/ Outc_dostep_L
      MARK_COMMON_BEG (Outc)
      COMMON /Outc/ Outc_lev,Outc_grid,Outc_step,
     $              Outc_var_max, Outc_sets,Outc_nbit,Outc_filtpass
      MARK_COMMON_END (Outc)
      MARK_COMMON_BEG (Outc_c)
      COMMON /Outc_c/ Outc_varnm_S,Outc_var_S
      MARK_COMMON_END (Outc_c)
      MARK_COMMON_BEG (Outc_r)
      COMMON /Outc_r/ Outc_filtcoef
      MARK_COMMON_END (Outc_r)