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_salsagas/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:25 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
     
    191192!
    192193! File                 : chem_gasphase_mod_Global.f90
    193 ! Time                 : Fri Mar  8 19:01:01 2019
    194 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     194! Time                 : Fri Mar 15 16:28:25 2019
     195! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    195196! Equation file        : chem_gasphase_mod.kpp
    196197! Output root filename : chem_gasphase_mod
     
    206207
    207208! C - Concentration of all species
    208   REAL(kind=dp):: c(nspec)
     209  REAL(kind=dp), TARGET    :: c(nspec)
    209210! VAR - Concentrations of variable species (global)
    210   REAL(kind=dp):: var(nvar)
     211! REAL(kind=dp):: var(nvar)  var is now POINTER
    211212! FIX - Concentrations of fixed species (global)
    212213  REAL(kind=dp):: fix(nfix)
    213214! VAR,FIX are chunks of array C
    214       EQUIVALENCE( c(1), var(1))
    215215! RCONST - Rate constants (global)
    216216  REAL(kind=dp):: rconst(nreact)
     
    259259!
    260260! File                 : chem_gasphase_mod_JacobianSP.f90
    261 ! Time                 : Fri Mar  8 19:01:01 2019
    262 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     261! Time                 : Fri Mar 15 16:28:25 2019
     262! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    263263! Equation file        : chem_gasphase_mod.kpp
    264264! Output root filename : chem_gasphase_mod
     
    303303!
    304304! File                 : chem_gasphase_mod_Monitor.f90
    305 ! Time                 : Fri Mar  8 19:01:01 2019
    306 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     305! Time                 : Fri Mar 15 16:28:25 2019
     306! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    307307! Equation file        : chem_gasphase_mod.kpp
    308308! Output root filename : chem_gasphase_mod
     
    367367!
    368368! File                 : chem_gasphase_mod_Initialize.f90
    369 ! Time                 : Fri Mar  8 19:01:01 2019
    370 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     369! Time                 : Fri Mar 15 16:28:25 2019
     370! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    371371! Equation file        : chem_gasphase_mod.kpp
    372372! Output root filename : chem_gasphase_mod
     
    393393!
    394394! File                 : chem_gasphase_mod_Integrator.f90
    395 ! Time                 : Fri Mar  8 19:01:01 2019
    396 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     395! Time                 : Fri Mar 15 16:28:25 2019
     396! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    397397! Equation file        : chem_gasphase_mod.kpp
    398398! Output root filename : chem_gasphase_mod
     
    451451!
    452452! File                 : chem_gasphase_mod_LinearAlgebra.f90
    453 ! Time                 : Fri Mar  8 19:01:01 2019
    454 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     453! Time                 : Fri Mar 15 16:28:25 2019
     454! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    455455! Equation file        : chem_gasphase_mod.kpp
    456456! Output root filename : chem_gasphase_mod
     
    478478!
    479479! File                 : chem_gasphase_mod_Jacobian.f90
    480 ! Time                 : Fri Mar  8 19:01:01 2019
    481 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     480! Time                 : Fri Mar 15 16:28:25 2019
     481! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    482482! Equation file        : chem_gasphase_mod.kpp
    483483! Output root filename : chem_gasphase_mod
     
    505505!
    506506! File                 : chem_gasphase_mod_Function.f90
    507 ! Time                 : Fri Mar  8 19:01:01 2019
    508 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     507! Time                 : Fri Mar 15 16:28:25 2019
     508! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    509509! Equation file        : chem_gasphase_mod.kpp
    510510! Output root filename : chem_gasphase_mod
     
    534534!
    535535! File                 : chem_gasphase_mod_Rates.f90
    536 ! Time                 : Fri Mar  8 19:01:01 2019
    537 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     536! Time                 : Fri Mar 15 16:28:25 2019
     537! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    538538! Equation file        : chem_gasphase_mod.kpp
    539539! Output root filename : chem_gasphase_mod
     
    560560!
    561561! File                 : chem_gasphase_mod_Util.f90
    562 ! Time                 : Fri Mar  8 19:01:01 2019
    563 ! Working directory    : /home/forkel-r/palmstuff/work/trunk20190308/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
     562! Time                 : Fri Mar 15 16:28:25 2019
     563! Working directory    : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm
    564564! Equation file        : chem_gasphase_mod.kpp
    565565! Output root filename : chem_gasphase_mod
     
    676676 
    677677 
     678  ! openmp directives generated by kp4
     679 
     680  !$OMP THREADPRIVATE (vl, vl_glo, is, ie, data_loaded)
     681  !$OMP THREADPRIVATE (c, var, fix, rconst, time, temp, stepmin, cfactor)
     682  !$OMP THREADPRIVATE (qvap, fakt, cs_mech, a, icntrl, rcntrl)
     683 
    678684 CONTAINS
    679685 
     
    687693  k = is
    688694  cfactor = 1.000000e+00_dp
     695
     696! Following line is just to avoid compiler message about unused variables
     697IF ( lu_crow(1) == 1  .OR.  lu_icol(1) == 1  .OR.  lu_irow(1) == 1 )  CONTINUE
     698
    689699
    690700  x = (0.) * cfactor
     
    772782
    773783
     784! Following line is just to avoid compiler message about unused variables
     785IF ( f(nfix) > 0.0_dp )  CONTINUE
     786
    774787! Computation of equation rates
    775788
     
    813826! B - Temporary array
    814827  REAL(kind=dp):: b(5)
     828!
     829! Following line is just to avoid compiler message about unused variables
     830IF ( f(nfix) > 0.0_dp )  CONTINUE
    815831
    816832! B(1) = dA(1)/dV(2)
     
    951967      REAL(kind=dp) :: x(n), alpha
    952968      REAL(kind=dp), PARAMETER  :: zero=0.0_dp, one=1.0_dp
     969
     970! Following line is just to avoid compiler message about unused variables
     971IF ( incx == 0 )  CONTINUE
    953972
    954973      IF (alpha .eq. one)RETURN
     
    10141033      REAL(kind=dp), PARAMETER :: zero = 0.0_dp
    10151034
     1035
     1036! Following line is just to avoid compiler message about unused variables
     1037IF ( incx == 0  .OR.  incy == 0 )  CONTINUE
    10161038      IF (alpha .eq. zero)RETURN
    10171039      IF (n .le. 0)RETURN
     
    17461768!~~~> inout variables
    17471769   REAL(kind=dp), INTENT(INOUT):: b(n)
     1770
     1771! Following line is just to avoid compiler message about unused variables
     1772IF ( pivot(1) == 0 )  CONTINUE
    17481773
    17491774#ifdef full_algebra   
     
    22992324  IF (PRESENT (rcntrl_i)) rcntrl  = rcntrl_i                     
    23002325                                                                   
     2326  var => c(1:nvar)                                                 
     2327                                                                   
    23012328  vl_glo = size(tempi, 1)                                           
    23022329                                                                   
Note: See TracChangeset for help on using the changeset viewer.