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_phstat/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:00 2019
    116 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     116! Time                 : Fri Mar 15 16:28:24 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
     
    189190!
    190191! File                 : chem_gasphase_mod_Global.f90
    191 ! Time                 : Fri Mar  8 19:01:00 2019
    192 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     192! Time                 : Fri Mar 15 16:28:24 2019
     193! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    193194! Equation file        : chem_gasphase_mod.kpp
    194195! Output root filename : chem_gasphase_mod
     
    204205
    205206! C - Concentration of all species
    206   REAL(kind=dp):: c(nspec)
     207  REAL(kind=dp), TARGET    :: c(nspec)
    207208! VAR - Concentrations of variable species (global)
    208   REAL(kind=dp):: var(nvar)
     209! REAL(kind=dp):: var(nvar)  var is now POINTER
    209210! FIX - Concentrations of fixed species (global)
    210211  REAL(kind=dp):: fix(nfix)
    211212! VAR,FIX are chunks of array C
    212       EQUIVALENCE( c(1), var(1))
    213213! RCONST - Rate constants (global)
    214214  REAL(kind=dp):: rconst(nreact)
     
    255255!
    256256! File                 : chem_gasphase_mod_JacobianSP.f90
    257 ! Time                 : Fri Mar  8 19:01:00 2019
    258 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     257! Time                 : Fri Mar 15 16:28:24 2019
     258! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    259259! Equation file        : chem_gasphase_mod.kpp
    260260! Output root filename : chem_gasphase_mod
     
    299299!
    300300! File                 : chem_gasphase_mod_Monitor.f90
    301 ! Time                 : Fri Mar  8 19:01:00 2019
    302 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     301! Time                 : Fri Mar 15 16:28:24 2019
     302! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    303303! Equation file        : chem_gasphase_mod.kpp
    304304! Output root filename : chem_gasphase_mod
     
    359359!
    360360! File                 : chem_gasphase_mod_Initialize.f90
    361 ! Time                 : Fri Mar  8 19:01:00 2019
    362 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     361! Time                 : Fri Mar 15 16:28:24 2019
     362! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    363363! Equation file        : chem_gasphase_mod.kpp
    364364! Output root filename : chem_gasphase_mod
     
    385385!
    386386! File                 : chem_gasphase_mod_Integrator.f90
    387 ! Time                 : Fri Mar  8 19:01:00 2019
    388 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     387! Time                 : Fri Mar 15 16:28:24 2019
     388! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    389389! Equation file        : chem_gasphase_mod.kpp
    390390! Output root filename : chem_gasphase_mod
     
    443443!
    444444! File                 : chem_gasphase_mod_LinearAlgebra.f90
    445 ! Time                 : Fri Mar  8 19:01:00 2019
    446 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     445! Time                 : Fri Mar 15 16:28:24 2019
     446! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    447447! Equation file        : chem_gasphase_mod.kpp
    448448! Output root filename : chem_gasphase_mod
     
    470470!
    471471! File                 : chem_gasphase_mod_Jacobian.f90
    472 ! Time                 : Fri Mar  8 19:01:00 2019
    473 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     472! Time                 : Fri Mar 15 16:28:24 2019
     473! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    474474! Equation file        : chem_gasphase_mod.kpp
    475475! Output root filename : chem_gasphase_mod
     
    497497!
    498498! File                 : chem_gasphase_mod_Function.f90
    499 ! Time                 : Fri Mar  8 19:01:00 2019
    500 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     499! Time                 : Fri Mar 15 16:28:24 2019
     500! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    501501! Equation file        : chem_gasphase_mod.kpp
    502502! Output root filename : chem_gasphase_mod
     
    526526!
    527527! File                 : chem_gasphase_mod_Rates.f90
    528 ! Time                 : Fri Mar  8 19:01:00 2019
    529 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     528! Time                 : Fri Mar 15 16:28:24 2019
     529! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    530530! Equation file        : chem_gasphase_mod.kpp
    531531! Output root filename : chem_gasphase_mod
     
    552552!
    553553! File                 : chem_gasphase_mod_Util.f90
    554 ! Time                 : Fri Mar  8 19:01:00 2019
    555 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     554! Time                 : Fri Mar 15 16:28:24 2019
     555! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    556556! Equation file        : chem_gasphase_mod.kpp
    557557! Output root filename : chem_gasphase_mod
     
    668668 
    669669 
     670  ! openmp directives generated by kp4
     671 
     672  !$OMP THREADPRIVATE (vl, vl_glo, is, ie, data_loaded)
     673  !$OMP THREADPRIVATE (c, var, fix, rconst, time, temp, stepmin, cfactor)
     674  !$OMP THREADPRIVATE (qvap, fakt, cs_mech, a, icntrl, rcntrl)
     675 
    670676 CONTAINS
    671677 
     
    679685  k = is
    680686  cfactor = 1.000000e+00_dp
     687
     688! Following line is just to avoid compiler message about unused variables
     689IF ( lu_crow(1) == 1  .OR.  lu_icol(1) == 1  .OR.  lu_irow(1) == 1 )  CONTINUE
     690
    681691
    682692  x = (0.) * cfactor
     
    764774
    765775
     776! Following line is just to avoid compiler message about unused variables
     777IF ( f(nfix) > 0.0_dp )  CONTINUE
     778
    766779! Computation of equation rates
    767780  a(1) = rct(1) * v(3)
     
    805818! B - Temporary array
    806819  REAL(kind=dp):: b(3)
     820!
     821! Following line is just to avoid compiler message about unused variables
     822IF ( f(nfix) > 0.0_dp )  CONTINUE
    807823
    808824! B(1) = dA(1)/dV(3)
     
    944960      REAL(kind=dp) :: x(n), alpha
    945961      REAL(kind=dp), PARAMETER  :: zero=0.0_dp, one=1.0_dp
     962
     963! Following line is just to avoid compiler message about unused variables
     964IF ( incx == 0 )  CONTINUE
    946965
    947966      IF (alpha .eq. one)RETURN
     
    10071026      REAL(kind=dp), PARAMETER :: zero = 0.0_dp
    10081027
     1028
     1029! Following line is just to avoid compiler message about unused variables
     1030IF ( incx == 0  .OR.  incy == 0 )  CONTINUE
    10091031      IF (alpha .eq. zero)RETURN
    10101032      IF (n .le. 0)RETURN
     
    17391761!~~~> inout variables
    17401762   REAL(kind=dp), INTENT(INOUT):: b(n)
     1763
     1764! Following line is just to avoid compiler message about unused variables
     1765IF ( pivot(1) == 0 )  CONTINUE
    17411766
    17421767#ifdef full_algebra   
     
    22972322  IF (PRESENT (rcntrl_i)) rcntrl  = rcntrl_i                     
    22982323                                                                   
     2324  var => c(1:nvar)                                                 
     2325                                                                   
    22992326  vl_glo = size(tempi, 1)                                           
    23002327                                                                   
Note: See TracChangeset for help on using the changeset viewer.