Ignore:
Timestamp:
Mar 28, 2019 3:04:04 PM (6 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

Location:
palm/trunk/UTIL/chemistry/gasphase_preproc/kpp4palm
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/UTIL/chemistry/gasphase_preproc/kpp4palm/src/create_kpp_module.C

    r3820 r3833  
    1313//Former revisions:
    1414//-----------------
    15 // renamed get_mechanismname to get_mechanism_name                        (26.03.2019, forkel):w
     15// alphabetic ordering of PUBLIC statments in templates/module_header     (28.03.2019, forkel)
     16//
     17// renamed get_mechanismname to get_mechanism_name                        (26.03.2019, forkel)
    1618//
    1719//
  • palm/trunk/UTIL/chemistry/gasphase_preproc/kpp4palm/templates/initialize_kpp_ctrl_template.f90

    r3789 r3833  
    2424  INTEGER, PARAMETER, PUBLIC :: NKPPCTRL = 20
    2525  !
    26   INTEGER,  DIMENSION(NKPPCTRL), PUBLIC     :: icntrl = 0
     26  ! Steering parameters for chemistry solver (see KPP domumentation)
     27  INTEGER, DIMENSION(NKPPCTRL), PUBLIC      :: icntrl = 0
    2728  REAL(DP), DIMENSION(NKPPCTRL), PUBLIC     :: rcntrl = 0.0_dp
     29  ! t_steps: fixed time steps in vector mode
    2830  REAL(DP), DIMENSION(NMAXFIXSTEPS), PUBLIC :: t_steps = 0.0_dp
    2931
  • palm/trunk/UTIL/chemistry/gasphase_preproc/kpp4palm/templates/module_header

    r3820 r3833  
    5656  !SAVE  ! NOTE: OCCURS AGAIN IN AUTOMATICALLY GENERATED CODE ...
    5757
    58 !  PUBLIC :: IERR_NAMES
     58! Public variables
     59  PUBLIC :: atol
     60  PUBLIC :: cs_mech
     61  PUBLIC :: eqn_names
     62  PUBLIC :: fakt
     63  PUBLIC :: nmaxfixsteps
     64  PUBLIC :: nphot
     65  PUBLIC :: nreact
     66  PUBLIC :: nspec
     67  PUBLIC :: nvar
     68  PUBLIC :: qvap
     69  PUBLIC :: phot
     70  PUBLIC :: phot_names
     71  PUBLIC :: rconst
     72  PUBLIC :: rtol
     73  PUBLIC :: spc_names
     74  PUBLIC :: temp
     75  PUBLIC :: vl_dim                     !< PUBLIC to enable other modules to distiguish between scalar and vec
    5976 
    60 ! PUBLIC :: SPC_NAMES, EQN_NAMES, EQN_TAGS, REQ_HET, REQ_AEROSOL, REQ_PHOTRAT &
    61 !         , REQ_MCFCT, IP_MAX, jname
    62 
    63   PUBLIC :: cs_mech
    64   PUBLIC :: eqn_names,  phot_names, spc_names
    65   PUBLIC :: nmaxfixsteps
    66   PUBLIC :: atol, rtol
    67   PUBLIC :: nspec, nreact
    68   PUBLIC :: temp
    69   PUBLIC :: qvap
    70   PUBLIC :: fakt
    71   PUBLIC :: phot
    72   PUBLIC :: rconst
    73   PUBLIC :: nvar
    74   PUBLIC :: nphot
    75   PUBLIC :: vl_dim                     ! Public to ebable other modules to distiguish between scalar and vec
    76  
    77   PUBLIC :: Initialize, Integrate, Update_rconst
     77! Public routines
    7878  PUBLIC :: chem_gasphase_integrate
     79  PUBLIC :: get_mechanism_name
     80  PUBLIC :: Initialize
    7981  PUBLIC :: initialize_kpp_ctrl
    80   PUBLIC :: get_mechanism_name
     82  PUBLIC :: Integrate
     83  PUBLIC :: Update_rconst
    8184
    8285! END OF MODULE HEADER TEMPLATE
Note: See TracChangeset for help on using the changeset viewer.