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_smog/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:03 2019
    116 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     116! Time                 : Fri Mar 15 16:28:28 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
     
    205206!
    206207! File                 : chem_gasphase_mod_Global.f90
    207 ! Time                 : Fri Mar  8 19:01:03 2019
    208 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     208! Time                 : Fri Mar 15 16:28:28 2019
     209! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    209210! Equation file        : chem_gasphase_mod.kpp
    210211! Output root filename : chem_gasphase_mod
     
    220221
    221222! C - Concentration of all species
    222   REAL(kind=dp):: c(nspec)
     223  REAL(kind=dp), TARGET    :: c(nspec)
    223224! VAR - Concentrations of variable species (global)
    224   REAL(kind=dp):: var(nvar)
     225! REAL(kind=dp):: var(nvar)  var is now POINTER
    225226! FIX - Concentrations of fixed species (global)
    226227  REAL(kind=dp):: fix(nfix)
    227228! VAR,FIX are chunks of array C
    228       EQUIVALENCE( c(1), var(1))
    229       EQUIVALENCE( c(14), fix(1))
    230229! RCONST - Rate constants (global)
    231230  REAL(kind=dp):: rconst(nreact)
     
    272271!
    273272! File                 : chem_gasphase_mod_JacobianSP.f90
    274 ! Time                 : Fri Mar  8 19:01:03 2019
    275 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     273! Time                 : Fri Mar 15 16:28:28 2019
     274! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    276275! Equation file        : chem_gasphase_mod.kpp
    277276! Output root filename : chem_gasphase_mod
     
    328327!
    329328! File                 : chem_gasphase_mod_Monitor.f90
    330 ! Time                 : Fri Mar  8 19:01:03 2019
    331 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     329! Time                 : Fri Mar 15 16:28:28 2019
     330! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    332331! Equation file        : chem_gasphase_mod.kpp
    333332! Output root filename : chem_gasphase_mod
     
    404403!
    405404! File                 : chem_gasphase_mod_Initialize.f90
    406 ! Time                 : Fri Mar  8 19:01:03 2019
    407 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     405! Time                 : Fri Mar 15 16:28:28 2019
     406! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    408407! Equation file        : chem_gasphase_mod.kpp
    409408! Output root filename : chem_gasphase_mod
     
    430429!
    431430! File                 : chem_gasphase_mod_Integrator.f90
    432 ! Time                 : Fri Mar  8 19:01:03 2019
    433 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     431! Time                 : Fri Mar 15 16:28:28 2019
     432! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    434433! Equation file        : chem_gasphase_mod.kpp
    435434! Output root filename : chem_gasphase_mod
     
    488487!
    489488! File                 : chem_gasphase_mod_LinearAlgebra.f90
    490 ! Time                 : Fri Mar  8 19:01:03 2019
    491 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     489! Time                 : Fri Mar 15 16:28:28 2019
     490! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    492491! Equation file        : chem_gasphase_mod.kpp
    493492! Output root filename : chem_gasphase_mod
     
    515514!
    516515! File                 : chem_gasphase_mod_Jacobian.f90
    517 ! Time                 : Fri Mar  8 19:01:03 2019
    518 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     516! Time                 : Fri Mar 15 16:28:28 2019
     517! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    519518! Equation file        : chem_gasphase_mod.kpp
    520519! Output root filename : chem_gasphase_mod
     
    542541!
    543542! File                 : chem_gasphase_mod_Function.f90
    544 ! Time                 : Fri Mar  8 19:01:03 2019
    545 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     543! Time                 : Fri Mar 15 16:28:28 2019
     544! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    546545! Equation file        : chem_gasphase_mod.kpp
    547546! Output root filename : chem_gasphase_mod
     
    571570!
    572571! File                 : chem_gasphase_mod_Rates.f90
    573 ! Time                 : Fri Mar  8 19:01:03 2019
    574 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     572! Time                 : Fri Mar 15 16:28:28 2019
     573! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    575574! Equation file        : chem_gasphase_mod.kpp
    576575! Output root filename : chem_gasphase_mod
     
    597596!
    598597! File                 : chem_gasphase_mod_Util.f90
    599 ! Time                 : Fri Mar  8 19:01:03 2019
    600 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     598! Time                 : Fri Mar 15 16:28:28 2019
     599! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    601600! Equation file        : chem_gasphase_mod.kpp
    602601! Output root filename : chem_gasphase_mod
     
    713712 
    714713 
     714  ! openmp directives generated by kp4
     715 
     716  !$OMP THREADPRIVATE (vl, vl_glo, is, ie, data_loaded)
     717  !$OMP THREADPRIVATE (c, var, fix, rconst, time, temp, stepmin, cfactor)
     718  !$OMP THREADPRIVATE (qvap, fakt, cs_mech, a, icntrl, rcntrl)
     719 
    715720 CONTAINS
    716721 
     
    724729  k = is
    725730  cfactor = 1.000000e+00_dp
     731
     732! Following line is just to avoid compiler message about unused variables
     733IF ( lu_crow(1) == 1  .OR.  lu_icol(1) == 1  .OR.  lu_irow(1) == 1 )  CONTINUE
     734
    726735
    727736  x = (0.) * cfactor
     
    813822
    814823
     824! Following line is just to avoid compiler message about unused variables
     825IF ( f(nfix) > 0.0_dp )  CONTINUE
     826
    815827! Computation of equation rates
    816828  a(1) = rct(1) * v(13)
     
    890902! B - Temporary array
    891903  REAL(kind=dp):: b(21)
     904!
     905! Following line is just to avoid compiler message about unused variables
     906IF ( f(nfix) > 0.0_dp )  CONTINUE
    892907
    893908! B(1) = dA(1)/dV(13)
     
    11771192      REAL(kind=dp) :: x(n), alpha
    11781193      REAL(kind=dp), PARAMETER  :: zero=0.0_dp, one=1.0_dp
     1194
     1195! Following line is just to avoid compiler message about unused variables
     1196IF ( incx == 0 )  CONTINUE
    11791197
    11801198      IF (alpha .eq. one)RETURN
     
    12401258      REAL(kind=dp), PARAMETER :: zero = 0.0_dp
    12411259
     1260
     1261! Following line is just to avoid compiler message about unused variables
     1262IF ( incx == 0  .OR.  incy == 0 )  CONTINUE
    12421263      IF (alpha .eq. zero)RETURN
    12431264      IF (n .le. 0)RETURN
     
    19721993!~~~> inout variables
    19731994   REAL(kind=dp), INTENT(INOUT):: b(n)
     1995
     1996! Following line is just to avoid compiler message about unused variables
     1997IF ( pivot(1) == 0 )  CONTINUE
    19741998
    19751999#ifdef full_algebra   
     
    25832607  IF (PRESENT (rcntrl_i)) rcntrl  = rcntrl_i                     
    25842608                                                                   
     2609  var => c(1:nvar)                                                 
     2610                                                                   
    25852611  vl_glo = size(tempi, 1)                                           
    25862612                                                                   
Note: See TracChangeset for help on using the changeset viewer.