Ignore:
Timestamp:
Oct 30, 2018 2:51:23 PM (5 years ago)
Author:
kanani
Message:

Reintegrated fixes/changes from branch chemistry

File:
1 edited

Legend:

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

    r3386 r3458  
    2525! -----------------
    2626! $Id$
     27! remove duplicate USE chem_modules
     28! from chemistry branch r3443, banzhafs, basit:
     29! chem_depo call introduced
     30! code added for decycling chemistry
     31!
     32! 3386 2018-10-19 16:28:22Z gronemeier
    2733! Renamed tcm_prognostic to tcm_prognostic_equations
    2834!
     
    340346    USE buoyancy_mod,                                                          &
    341347        ONLY:  buoyancy
    342 
    343     USE chemistry_model_mod,                                                   &
    344         ONLY:  chem_integrate, chem_species,  chem_prognostic_equations,       &
    345                nspec, nvar, spc_names, chem_boundary_conds
    346348           
    347349    USE chem_modules,                                                          &
    348         ONLY:  call_chem_at_all_substeps, chem_gasphase_on
     350        ONLY:  call_chem_at_all_substeps, chem_gasphase_on, cs_name, do_depo
    349351
    350352    USE chem_photolysis_mod,                                                   &
    351353        ONLY:  photolysis_control
    352354
    353     USE chem_modules,                                                          &
    354         ONLY:  call_chem_at_all_substeps, chem_gasphase_on, cs_name
     355    USE chemistry_model_mod,                                                   &
     356        ONLY:  chem_boundary_conds, chem_depo, chem_integrate,                 &
     357               chem_prognostic_equations, chem_species,                        &
     358               nspec, nvar, spc_names
    355359
    356360    USE control_parameters,                                                    &
     
    495499
    496500                IF ( intermediate_timestep_count == 1 .OR.                        &
    497                      call_chem_at_all_substeps ) THEN
    498                    CALL chem_integrate (i,j)                                               
     501                     call_chem_at_all_substeps )  THEN
     502                   CALL chem_integrate (i,j)
     503                   IF ( do_depo )  THEN
     504                      CALL chem_depo(i,j)
     505                   ENDIF
    499506                ENDIF
    500507             ENDDO
Note: See TracChangeset for help on using the changeset viewer.