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+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: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
     
    189190!
    190191! File                 : chem_gasphase_mod_Global.f90
    191 ! Time                 : Fri Mar  8 19:01:01 2019
    192 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     192! Time                 : Fri Mar 15 16:28:26 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)
     
    264264!
    265265! File                 : chem_gasphase_mod_JacobianSP.f90
    266 ! Time                 : Fri Mar  8 19:01:01 2019
    267 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     266! Time                 : Fri Mar 15 16:28:26 2019
     267! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    268268! Equation file        : chem_gasphase_mod.kpp
    269269! Output root filename : chem_gasphase_mod
     
    308308!
    309309! File                 : chem_gasphase_mod_Monitor.f90
    310 ! Time                 : Fri Mar  8 19:01:01 2019
    311 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     310! Time                 : Fri Mar 15 16:28:26 2019
     311! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    312312! Equation file        : chem_gasphase_mod.kpp
    313313! Output root filename : chem_gasphase_mod
     
    368368!
    369369! File                 : chem_gasphase_mod_Initialize.f90
    370 ! Time                 : Fri Mar  8 19:01:01 2019
    371 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     370! Time                 : Fri Mar 15 16:28:26 2019
     371! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    372372! Equation file        : chem_gasphase_mod.kpp
    373373! Output root filename : chem_gasphase_mod
     
    394394!
    395395! File                 : chem_gasphase_mod_Integrator.f90
    396 ! Time                 : Fri Mar  8 19:01:01 2019
    397 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     396! Time                 : Fri Mar 15 16:28:26 2019
     397! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    398398! Equation file        : chem_gasphase_mod.kpp
    399399! Output root filename : chem_gasphase_mod
     
    452452!
    453453! File                 : chem_gasphase_mod_LinearAlgebra.f90
    454 ! Time                 : Fri Mar  8 19:01:01 2019
    455 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     454! Time                 : Fri Mar 15 16:28:26 2019
     455! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    456456! Equation file        : chem_gasphase_mod.kpp
    457457! Output root filename : chem_gasphase_mod
     
    479479!
    480480! File                 : chem_gasphase_mod_Jacobian.f90
    481 ! Time                 : Fri Mar  8 19:01:01 2019
    482 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     481! Time                 : Fri Mar 15 16:28:26 2019
     482! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    483483! Equation file        : chem_gasphase_mod.kpp
    484484! Output root filename : chem_gasphase_mod
     
    506506!
    507507! File                 : chem_gasphase_mod_Function.f90
    508 ! Time                 : Fri Mar  8 19:01:01 2019
    509 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     508! Time                 : Fri Mar 15 16:28:26 2019
     509! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    510510! Equation file        : chem_gasphase_mod.kpp
    511511! Output root filename : chem_gasphase_mod
     
    535535!
    536536! File                 : chem_gasphase_mod_Rates.f90
    537 ! Time                 : Fri Mar  8 19:01:01 2019
    538 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     537! Time                 : Fri Mar 15 16:28:26 2019
     538! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    539539! Equation file        : chem_gasphase_mod.kpp
    540540! Output root filename : chem_gasphase_mod
     
    561561!
    562562! File                 : chem_gasphase_mod_Util.f90
    563 ! Time                 : Fri Mar  8 19:01:01 2019
    564 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     563! Time                 : Fri Mar 15 16:28:26 2019
     564! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    565565! Equation file        : chem_gasphase_mod.kpp
    566566! Output root filename : chem_gasphase_mod
     
    677677 
    678678 
     679  ! openmp directives generated by kp4
     680 
     681  !$OMP THREADPRIVATE (vl, vl_glo, is, ie, data_loaded)
     682  !$OMP THREADPRIVATE (c, var, fix, rconst, time, temp, stepmin, cfactor)
     683  !$OMP THREADPRIVATE (qvap, fakt, cs_mech, a, icntrl, rcntrl)
     684 
    679685 CONTAINS
    680686 
     
    688694  k = is
    689695  cfactor = 1.000000e+00_dp
     696
     697! Following line is just to avoid compiler message about unused variables
     698IF ( lu_crow(1) == 1  .OR.  lu_icol(1) == 1  .OR.  lu_irow(1) == 1 )  CONTINUE
     699
    690700
    691701  x = (0.) * cfactor
     
    773783
    774784
     785! Following line is just to avoid compiler message about unused variables
     786IF ( f(nfix) > 0.0_dp )  CONTINUE
     787
    775788! Computation of equation rates
    776789  a(1) = rct(1) * v(3)
     
    814827! B - Temporary array
    815828  REAL(kind=dp):: b(3)
     829!
     830! Following line is just to avoid compiler message about unused variables
     831IF ( f(nfix) > 0.0_dp )  CONTINUE
    816832
    817833! B(1) = dA(1)/dV(3)
     
    953969      REAL(kind=dp) :: x(n), alpha
    954970      REAL(kind=dp), PARAMETER  :: zero=0.0_dp, one=1.0_dp
     971
     972! Following line is just to avoid compiler message about unused variables
     973IF ( incx == 0 )  CONTINUE
    955974
    956975      IF (alpha .eq. one)RETURN
     
    10161035      REAL(kind=dp), PARAMETER :: zero = 0.0_dp
    10171036
     1037
     1038! Following line is just to avoid compiler message about unused variables
     1039IF ( incx == 0  .OR.  incy == 0 )  CONTINUE
    10181040      IF (alpha .eq. zero)RETURN
    10191041      IF (n .le. 0)RETURN
     
    17481770!~~~> inout variables
    17491771   REAL(kind=dp), INTENT(INOUT):: b(n)
     1772
     1773! Following line is just to avoid compiler message about unused variables
     1774IF ( pivot(1) == 0 )  CONTINUE
    17501775
    17511776#ifdef full_algebra   
     
    23062331  IF (PRESENT (rcntrl_i)) rcntrl  = rcntrl_i                     
    23072332                                                                   
     2333  var => c(1:nvar)                                                 
     2334                                                                   
    23082335  vl_glo = size(tempi, 1)                                           
    23092336                                                                   
Note: See TracChangeset for help on using the changeset viewer.