Ignore:
Timestamp:
Mar 28, 2019 3:04:04 PM (5 years ago)
Author:
forkel
Message:

removed USE chem_gasphase_mod from chem_modules, apply USE chem_gasphase for nvar, nspec, cs_mech and spc_names instead

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/time_integration.f90

    r3820 r3833  
    2525! -----------------
    2626! $Id$
     27! added USE chem_gasphase_mod, replaced nspec by nvar since fixed compounds are not integrated
     28!
     29! 3820 2019-03-27 11:53:41Z forkel
    2730! renamed do_emiss to emissions_anthropogenic (ecc)
    2831!
     
    489492        ONLY:  chem_emissions_setup
    490493
     494    USE chem_gasphase_mod,                                                                         &
     495        ONLY:  nvar
     496
    491497    USE chem_modules,                                                                              &
    492         ONLY:  bc_cs_t_val, cs_name, emissions_anthropogenic, nspec, nspec_out
     498        ONLY:  bc_cs_t_val, cs_name, emissions_anthropogenic, nspec_out
    493499
    494500    USE chemistry_model_mod,                                                                       &
     
    844850           bc_q_t_val  = ( q_init(nzt+1) - q_init(nzt) ) / dzu(nzt+1)
    845851           IF ( air_chemistry )  THEN
    846               DO  lsp = 1, nspec
     852              DO  lsp = 1, nvar
    847853                 bc_cs_t_val = (  chem_species(lsp)%conc_pr_init(nzt+1)                            &
    848854                                - chem_species(lsp)%conc_pr_init(nzt) )                            &
     
    10071013          IF ( passive_scalar )  CALL exchange_horiz( s_p, nbgp )
    10081014          IF ( air_chemistry )  THEN
    1009              DO  lsp = 1, nspec
     1015             DO  lsp = 1, nvar
    10101016                CALL exchange_horiz( chem_species(lsp)%conc_p, nbgp )
    10111017!
     
    11101116
    11111117                IF ( air_chemistry )  THEN
    1112                    DO  n = 1, nspec     
     1118                   DO  n = 1, nvar     
    11131119                      CALL exchange_horiz( chem_species(n)%conc, nbgp )
    11141120                   ENDDO
Note: See TracChangeset for help on using the changeset viewer.