Ignore:
Timestamp:
Mar 15, 2019 3:36:25 PM (6 years ago)
Author:
forkel
Message:

editing in kpp4palm: add statements for avoiding unused variables, remove $Id

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/UTIL/chemistry/gasphase_preproc/mechanisms/def_salsa+simple/chem_gasphase_mod.f90

    r3789 r3799  
    9898                                                                 
    9999  LOGICAL                     :: data_loaded = .FALSE.             
     100  REAL(dp), POINTER, DIMENSION(:), CONTIGUOUS    :: var             
    100101! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    101102!
     
    113114!
    114115! File                 : chem_gasphase_mod_Parameters.f90
    115 ! Time                 : Fri Mar  8 19:01:01 2019
    116 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     116! Time                 : Fri Mar 15 16:28:26 2019
     117! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    117118! Equation file        : chem_gasphase_mod.kpp
    118119! Output root filename : chem_gasphase_mod
     
    201202!
    202203! File                 : chem_gasphase_mod_Global.f90
    203 ! Time                 : Fri Mar  8 19:01:01 2019
    204 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     204! Time                 : Fri Mar 15 16:28:26 2019
     205! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    205206! Equation file        : chem_gasphase_mod.kpp
    206207! Output root filename : chem_gasphase_mod
     
    216217
    217218! C - Concentration of all species
    218   REAL(kind=dp):: c(nspec)
     219  REAL(kind=dp), TARGET    :: c(nspec)
    219220! VAR - Concentrations of variable species (global)
    220   REAL(kind=dp):: var(nvar)
     221! REAL(kind=dp):: var(nvar)  var is now POINTER
    221222! FIX - Concentrations of fixed species (global)
    222223  REAL(kind=dp):: fix(nfix)
    223224! VAR,FIX are chunks of array C
    224       EQUIVALENCE( c(1), var(1))
    225       EQUIVALENCE( c(14), fix(1))
    226225! RCONST - Rate constants (global)
    227226  REAL(kind=dp):: rconst(nreact)
     
    274273!
    275274! File                 : chem_gasphase_mod_JacobianSP.f90
    276 ! Time                 : Fri Mar  8 19:01:01 2019
    277 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     275! Time                 : Fri Mar 15 16:28:26 2019
     276! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    278277! Equation file        : chem_gasphase_mod.kpp
    279278! Output root filename : chem_gasphase_mod
     
    326325!
    327326! File                 : chem_gasphase_mod_Monitor.f90
    328 ! Time                 : Fri Mar  8 19:01:01 2019
    329 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     327! Time                 : Fri Mar 15 16:28:26 2019
     328! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    330329! Equation file        : chem_gasphase_mod.kpp
    331330! Output root filename : chem_gasphase_mod
     
    400399!
    401400! File                 : chem_gasphase_mod_Initialize.f90
    402 ! Time                 : Fri Mar  8 19:01:01 2019
    403 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     401! Time                 : Fri Mar 15 16:28:26 2019
     402! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    404403! Equation file        : chem_gasphase_mod.kpp
    405404! Output root filename : chem_gasphase_mod
     
    426425!
    427426! File                 : chem_gasphase_mod_Integrator.f90
    428 ! Time                 : Fri Mar  8 19:01:01 2019
    429 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     427! Time                 : Fri Mar 15 16:28:26 2019
     428! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    430429! Equation file        : chem_gasphase_mod.kpp
    431430! Output root filename : chem_gasphase_mod
     
    484483!
    485484! File                 : chem_gasphase_mod_LinearAlgebra.f90
    486 ! Time                 : Fri Mar  8 19:01:01 2019
    487 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     485! Time                 : Fri Mar 15 16:28:26 2019
     486! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    488487! Equation file        : chem_gasphase_mod.kpp
    489488! Output root filename : chem_gasphase_mod
     
    511510!
    512511! File                 : chem_gasphase_mod_Jacobian.f90
    513 ! Time                 : Fri Mar  8 19:01:01 2019
    514 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     512! Time                 : Fri Mar 15 16:28:26 2019
     513! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    515514! Equation file        : chem_gasphase_mod.kpp
    516515! Output root filename : chem_gasphase_mod
     
    538537!
    539538! File                 : chem_gasphase_mod_Function.f90
    540 ! Time                 : Fri Mar  8 19:01:01 2019
    541 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     539! Time                 : Fri Mar 15 16:28:26 2019
     540! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    542541! Equation file        : chem_gasphase_mod.kpp
    543542! Output root filename : chem_gasphase_mod
     
    567566!
    568567! File                 : chem_gasphase_mod_Rates.f90
    569 ! Time                 : Fri Mar  8 19:01:01 2019
    570 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     568! Time                 : Fri Mar 15 16:28:26 2019
     569! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    571570! Equation file        : chem_gasphase_mod.kpp
    572571! Output root filename : chem_gasphase_mod
     
    593592!
    594593! File                 : chem_gasphase_mod_Util.f90
    595 ! Time                 : Fri Mar  8 19:01:01 2019
    596 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     594! Time                 : Fri Mar 15 16:28:26 2019
     595! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    597596! Equation file        : chem_gasphase_mod.kpp
    598597! Output root filename : chem_gasphase_mod
     
    709708 
    710709 
     710  ! openmp directives generated by kp4
     711 
     712  !$OMP THREADPRIVATE (vl, vl_glo, is, ie, data_loaded)
     713  !$OMP THREADPRIVATE (c, var, fix, rconst, time, temp, stepmin, cfactor)
     714  !$OMP THREADPRIVATE (qvap, fakt, cs_mech, a, icntrl, rcntrl)
     715 
    711716 CONTAINS
    712717 
     
    720725  k = is
    721726  cfactor = 1.000000e+00_dp
     727
     728! Following line is just to avoid compiler message about unused variables
     729IF ( lu_crow(1) == 1  .OR.  lu_icol(1) == 1  .OR.  lu_irow(1) == 1 )  CONTINUE
     730
    722731
    723732  x = (0.) * cfactor
     
    805814
    806815
     816! Following line is just to avoid compiler message about unused variables
     817IF ( f(nfix) > 0.0_dp )  CONTINUE
     818
    807819! Computation of equation rates
    808820  a(1) = rct(1) * v(10)
     
    874886! B - Temporary array
    875887  REAL(kind=dp):: b(17)
     888!
     889! Following line is just to avoid compiler message about unused variables
     890IF ( f(nfix) > 0.0_dp )  CONTINUE
    876891
    877892! B(1) = dA(1)/dV(10)
     
    11121127      REAL(kind=dp) :: x(n), alpha
    11131128      REAL(kind=dp), PARAMETER  :: zero=0.0_dp, one=1.0_dp
     1129
     1130! Following line is just to avoid compiler message about unused variables
     1131IF ( incx == 0 )  CONTINUE
    11141132
    11151133      IF (alpha .eq. one)RETURN
     
    11751193      REAL(kind=dp), PARAMETER :: zero = 0.0_dp
    11761194
     1195
     1196! Following line is just to avoid compiler message about unused variables
     1197IF ( incx == 0  .OR.  incy == 0 )  CONTINUE
    11771198      IF (alpha .eq. zero)RETURN
    11781199      IF (n .le. 0)RETURN
     
    19071928!~~~> inout variables
    19081929   REAL(kind=dp), INTENT(INOUT):: b(n)
     1930
     1931! Following line is just to avoid compiler message about unused variables
     1932IF ( pivot(1) == 0 )  CONTINUE
    19091933
    19101934#ifdef full_algebra   
     
    24972521  IF (PRESENT (rcntrl_i)) rcntrl  = rcntrl_i                     
    24982522                                                                   
     2523  var => c(1:nvar)                                                 
     2524                                                                   
    24992525  vl_glo = size(tempi, 1)                                           
    25002526                                                                   
Note: See TracChangeset for help on using the changeset viewer.