Changeset 3799
- Timestamp:
- Mar 15, 2019 3:36:25 PM (6 years ago)
- Location:
- palm/trunk
- Files:
-
- 24 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/chem_gasphase_mod.f90
r3797 r3799 114 114 ! 115 115 ! File : chem_gasphase_mod_Parameters.f90 116 ! Time : Fri Mar 15 1 2:08:062019116 ! Time : Fri Mar 15 16:28:29 2019 117 117 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 118 118 ! Equation file : chem_gasphase_mod.kpp … … 191 191 ! 192 192 ! File : chem_gasphase_mod_Global.f90 193 ! Time : Fri Mar 15 1 2:08:062019193 ! Time : Fri Mar 15 16:28:29 2019 194 194 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 195 195 ! Equation file : chem_gasphase_mod.kpp … … 256 256 ! 257 257 ! File : chem_gasphase_mod_JacobianSP.f90 258 ! Time : Fri Mar 15 1 2:08:062019258 ! Time : Fri Mar 15 16:28:29 2019 259 259 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 260 260 ! Equation file : chem_gasphase_mod.kpp … … 300 300 ! 301 301 ! File : chem_gasphase_mod_Monitor.f90 302 ! Time : Fri Mar 15 1 2:08:062019302 ! Time : Fri Mar 15 16:28:29 2019 303 303 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 304 304 ! Equation file : chem_gasphase_mod.kpp … … 362 362 ! 363 363 ! File : chem_gasphase_mod_Initialize.f90 364 ! Time : Fri Mar 15 1 2:08:062019364 ! Time : Fri Mar 15 16:28:29 2019 365 365 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 366 366 ! Equation file : chem_gasphase_mod.kpp … … 388 388 ! 389 389 ! File : chem_gasphase_mod_Integrator.f90 390 ! Time : Fri Mar 15 1 2:08:062019390 ! Time : Fri Mar 15 16:28:29 2019 391 391 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 392 392 ! Equation file : chem_gasphase_mod.kpp … … 446 446 ! 447 447 ! File : chem_gasphase_mod_LinearAlgebra.f90 448 ! Time : Fri Mar 15 1 2:08:062019448 ! Time : Fri Mar 15 16:28:29 2019 449 449 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 450 450 ! Equation file : chem_gasphase_mod.kpp … … 473 473 ! 474 474 ! File : chem_gasphase_mod_Jacobian.f90 475 ! Time : Fri Mar 15 1 2:08:062019475 ! Time : Fri Mar 15 16:28:29 2019 476 476 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 477 477 ! Equation file : chem_gasphase_mod.kpp … … 500 500 ! 501 501 ! File : chem_gasphase_mod_Function.f90 502 ! Time : Fri Mar 15 1 2:08:062019502 ! Time : Fri Mar 15 16:28:29 2019 503 503 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 504 504 ! Equation file : chem_gasphase_mod.kpp … … 529 529 ! 530 530 ! File : chem_gasphase_mod_Rates.f90 531 ! Time : Fri Mar 15 1 2:08:062019531 ! Time : Fri Mar 15 16:28:29 2019 532 532 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 533 533 ! Equation file : chem_gasphase_mod.kpp … … 555 555 ! 556 556 ! File : chem_gasphase_mod_Util.f90 557 ! Time : Fri Mar 15 1 2:08:062019557 ! Time : Fri Mar 15 16:28:29 2019 558 558 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 559 559 ! Equation file : chem_gasphase_mod.kpp … … 688 688 k = is 689 689 cfactor = 1.000000e+00_dp 690 ! 691 ! Following line is just to avoid compiler message about unused variables 692 IF ( lu_crow(1) == 1 .OR. lu_icol(1) == 1 .OR. lu_irow(1) == 1 ) CONTINUE 693 ! 690 694 691 695 x = (0.) * cfactor … … 773 777 774 778 779 ! Following line is just to avoid compiler message about unused variables 780 IF ( f(nfix) > 0.0_dp ) CONTINUE 781 ! 775 782 ! Computation of equation rates 776 783 a(1) = rct(1) * v(3) … … 816 823 ! B - Temporary array 817 824 REAL(kind=dp):: b(4) 825 ! 826 ! Following line is just to avoid compiler message about unused variables 827 IF ( f(nfix) > 0.0_dp ) CONTINUE 818 828 819 829 ! B(1) = dA(1)/dV(3) … … 960 970 REAL(kind=dp) :: x(n), alpha 961 971 REAL(kind=dp), PARAMETER :: zero=0.0_dp, one=1.0_dp 972 ! 973 ! Following line is just to avoid compiler message about unused variables 974 IF ( incx == 0 ) CONTINUE 962 975 963 976 IF (alpha .eq. one)RETURN … … 1023 1036 REAL(kind=dp), PARAMETER :: zero = 0.0_dp 1024 1037 1038 ! 1039 ! Following line is just to avoid compiler message about unused variables 1040 IF ( incx == 0 .OR. incy == 0 ) CONTINUE 1025 1041 IF (alpha .eq. zero)RETURN 1026 1042 IF (n .le. 0)RETURN … … 1755 1771 !~~~> inout variables 1756 1772 REAL(kind=dp), INTENT(INOUT):: b(n) 1773 ! 1774 ! Following line is just to avoid compiler message about unused variables 1775 IF ( pivot(1) == 0 ) CONTINUE 1757 1776 1758 1777 #ifdef full_algebra -
palm/trunk/UTIL/chemistry/gasphase_preproc/kpp4palm/bin/kpp4palm.ksh
r3780 r3799 40 40 # ----------------- 41 41 # $Id$ 42 # Removed edit of phot(nphot) for version edit phot(nphot), now done in fortran_file.C (15.03.2019, forkel) 43 # Editing with sed to add dummy statements toavoud unused variables 44 # 45 # 3780 2019-03-05 11:19:45Z forkel 42 46 # forkel 05. March 2019: cs_mech and set_cm 43 47 # forkel 30. Oktober 2018: Integrating contents of kp4_compress into chem_gasphase_mod.f90 … … 337 341 $BASE/bin/kpp4palm.exe $PREFIX $MODE $VLEN $DE_INDEX $DE_INDEX_FAST 338 342 339 #Prelimanary, substitution has to be moved into kpp4palm.exe 343 # Add dummy statements in order to prevent warnings due to unused variables 344 # 345 sed -i -e '/cfactor =/a ! ' kk_kpp.f90 346 sed -i -e '/cfactor =/a IF ( lu_crow(1) == 1 .OR. lu_icol(1) == 1 .OR. lu_irow(1) == 1 ) CONTINUE ' kk_kpp.f90 347 sed -i -e '/cfactor =/a ! Following line is just to avoid compiler message about unused variables' kk_kpp.f90 348 sed -i -e '/cfactor =/a ! ' kk_kpp.f90 349 340 350 if [[ $MODE = "vector" ]] 341 351 then 342 sed -i -e 's/phot(nphot/phot(vl_dim,nphot/g' kk_kpp.f90 343 fi 352 sed -i -e '/! Computation of equation rates/i ! Following line is just to avoid compiler message about unused variables' kk_kpp.f90 353 sed -i -e '/! Computation of equation rates/i IF ( f(vl,nfix) > 0.0_dp ) CONTINUE' kk_kpp.f90 354 sed -i -e '/! Computation of equation rates/i ! ' kk_kpp.f90 355 else 356 sed -i -e '/! Computation of equation rates/i ! Following line is just to avoid compiler message about unused variables' kk_kpp.f90 357 sed -i -e '/! Computation of equation rates/i IF ( f(nfix) > 0.0_dp ) CONTINUE' kk_kpp.f90 358 sed -i -e '/! Computation of equation rates/i ! ' kk_kpp.f90 359 fi 360 361 if [[ $MODE = "vector" ]] 362 then 363 sed -i -e '/REAL(kind=dp) :: b/a IF ( f(vl,nfix) > 0.0_dp ) CONTINUE' kk_kpp.f90 364 sed -i -e '/REAL(kind=dp) :: b/a ! Following line is just to avoid compiler message about unused variables' kk_kpp.f90 365 sed -i -e '/REAL(kind=dp):: b/a !' kk_kpp.f90 366 else 367 sed -i -e '/REAL(kind=dp):: b/a IF ( f(nfix) > 0.0_dp ) CONTINUE' kk_kpp.f90 368 sed -i -e '/REAL(kind=dp):: b/a ! Following line is just to avoid compiler message about unused variables' kk_kpp.f90 369 sed -i -e '/REAL(kind=dp):: b/a !' kk_kpp.f90 370 fi 371 372 sed -i -e '/one=1.0_dp/a IF ( incx == 0 ) CONTINUE' kk_kpp.f90 373 sed -i -e '/one=1.0_dp/a ! Following line is just to avoid compiler message about unused variables' kk_kpp.f90 374 sed -i -e '/one=1.0_dp/a ! ' kk_kpp.f90 375 376 sed -i -e '/IF (alpha .eq. zero)RETURN/i ! ' kk_kpp.f90 377 sed -i -e '/IF (alpha .eq. zero)RETURN/i ! Following line is just to avoid compiler message about unused variables' kk_kpp.f90 378 sed -i -e '/IF (alpha .eq. zero)RETURN/i IF ( incx == 0 .OR. incy == 0 ) CONTINUE' kk_kpp.f90 379 380 sed -i -e '/INTENT(INOUT):: b(n)/a IF ( pivot(1) == 0 ) CONTINUE' kk_kpp.f90 381 sed -i -e '/INTENT(INOUT):: b(n)/a ! Following line is just to avoid compiler message about unused variables' kk_kpp.f90 382 sed -i -e '/INTENT(INOUT):: b(n)/a ! ' kk_kpp.f90 344 383 345 384 if [[ -e $OUTDIR/${OUTFILE}.f90 ]] -
palm/trunk/UTIL/chemistry/gasphase_preproc/kpp4palm/src/create_kpp_module.C
r3797 r3799 9 9 // 10 10 // ############################################################################ 11 //12 //Current revisions:13 //------------------14 11 // 15 12 // 16 13 //Former revisions: 17 14 //----------------- 18 //$Id: create_kpp_module.C 3453 2018-10-30 13:21:51Z forkel $ 15 // Deleted $Id since document_changes does not work for C and C++ (15.03.2019, forkel) 16 // 19 17 // OpenMP version (15.03.2019, ketelsen) 20 18 // … … 199 197 generate_module_header(); 200 198 201 // create_set_cs199 // Create subroutine to communicate mechanism name to other modules 202 200 create_set_cs(); 203 201 -
palm/trunk/UTIL/chemistry/gasphase_preproc/kpp4palm/src/create_kpp_module.h
r3780 r3799 18 18 // Former revisions: 19 19 // ----------------------- 20 // $Id$ 21 // forkel 22.02.2019: Added create_set_cs 22 // ketelsen 18.09.2018: Removed create_fill_routine 20 // Deleted $Id since document_changes does not work for C and C++ (15.03.2019, forkel) 21 // 22 // Added create_set_cs (22.02.2019, forkel) 23 // 24 // Removed create_fill_routine (18.09.2018, ketelsen) 23 25 // 24 26 // initial version (Nov. 2016, ketelsen) -
palm/trunk/UTIL/chemistry/gasphase_preproc/kpp4palm/src/expand_decomp.C
r3789 r3799 9 9 // 10 10 // ############################################################################ 11 //Current revisions:12 //------------------13 11 // 14 12 // 15 13 // Former revisions: 16 14 // ----------------------- 17 // $Id: expand_decomp.C 3327 2018-10-09 19:55:00Z forkel $15 // Deleted $Id since document_changes does not work for C and C++ (15.03.2019, forkel) 18 16 // 19 17 // Added switch for de-indexing == 2 (W is not needed then) (08.03.2019, forkel) -
palm/trunk/UTIL/chemistry/gasphase_preproc/kpp4palm/src/expand_decomp.h
r3458 r3799 11 11 // 12 12 // ############################################################################ 13 //Current revisions:14 //------------------15 13 // 16 14 // 17 15 // Former revisions: 18 16 // ----------------------- 19 // $Id: expand_decomp.h 3327 2018-10-09 19:55:00Z forkel $17 // Deleted $Id since document_changes does not work for C and C++ (15.03.2019, forkel) 20 18 // 21 19 // initial version (Nov. 2016, ketelsen) -
palm/trunk/UTIL/chemistry/gasphase_preproc/kpp4palm/src/fortran_file.C
r3797 r3799 11 11 // 12 12 // 13 //Current revisions:14 //------------------15 //16 //17 13 //Former revisions: 18 14 //----------------- 19 //$Id: 15 // Deleted $Id since document_changes does not work for C and C++ (15.03.2019, forkel) 16 // 17 // For vector version edit phot(nphot) - was before done in kpp4pal.ksh (15.03.2019, forkel) 18 // 20 19 // OpenMP version (15.03.2019, ketelsen) 21 20 // … … 676 675 // Replace Roundoff = WLAMCH('E') since WLAMCH does not work everywhere 677 676 ip->global_substitute("Roundoff = WLAMCH('E')","roundoff = epsilon(one)"); 677 // For vector version edit phot(nphot) from INLINE in chem_gasphase_mod.kpp 678 if(kpp_switches.is_vector()) { 679 ip->global_substitute("phot(nphot)","phot(vl_dim,nphot)"); 680 } 678 681 679 682 // Now do some cosmetics to adapt the KPP generated output a bit o the looks of PALM, -
palm/trunk/UTIL/chemistry/gasphase_preproc/kpp4palm/src/fortran_file.h
r3458 r3799 12 12 // ############################################################################ 13 13 // 14 //Current revisions:15 //------------------16 //17 14 // 18 15 // Former revisions: 19 16 // ----------------------- 20 // $Id: fortran_file.h 3327 2018-10-09 19:55:00Z forkel $17 // Deleted $Id since document_changes does not work for C and C++ (15.03.2019, forkel) 21 18 // 22 19 // added edit_Initialize (Sept.2018, forkel) -
palm/trunk/UTIL/chemistry/gasphase_preproc/kpp4palm/src/main.C
r3458 r3799 4 4 // create_mz_kpp_module 5 5 // 6 // create scalar code from .f90 sources created by KPP to be used in MESSy6 // create scalar code from .f90 sources created by KPP to be used in PALM4U 7 7 // 8 // COPYRIGHT Klaus Ketelsen and MPI-CH April 2007 8 // COPYRIGHT Klaus Ketelsen and MPI-CH April 2007, 9 // Klaus Ketelsen, 2016 9 10 // 10 11 // ############################################################################ 11 12 // 12 //Current revisions:13 //------------------14 //15 //16 13 // Former revisions: 17 14 // ----------------------- 18 // $Id: main.C 3327 2018-10-09 19:55:00Z forkel $15 // Deleded $Id since document_changes does not work for C and C++ (15.03.2019, forkel) 19 16 // 20 17 // initial version (Nov. 2016, ketelsen) … … 35 32 36 33 cout << "####################################################" <<endl ; 37 cout << "### KP4= KPP POST PROCESSOR ###" <<endl ;38 cout << "### 34 cout << "### KPP4PALM = KPP POST PROCESSOR ###" <<endl ; 35 cout << "### KP4 Version 1.0 ###" <<endl ; 39 36 cout << "### (C) by Klaus Ketelsen and MPI-CH, April 2007 ###" <<endl ; 37 cout << "### KPP4PALM ###" <<endl ; 38 cout << "### (C) by Klaus Ketelsen, November 2016 ###" <<endl ; 40 39 cout << "####################################################" <<endl ; 41 40 … … 71 70 72 71 cout << "####################################################" <<endl ; 73 cout << "### END OF KP 4###" <<endl ;72 cout << "### END OF KPP4PALM ###" <<endl ; 74 73 cout << "####################################################" <<endl ; 75 74 -
palm/trunk/UTIL/chemistry/gasphase_preproc/kpp4palm/src/program_line.C
r3458 r3799 10 10 // ############################################################################ 11 11 // 12 //Current revisions:13 //------------------14 //15 12 // 16 13 // Former revisions: 17 14 // ----------------------- 18 // $Id: program_line.C 3327 2018-10-09 19:55:00Z forkel $15 // Deleted $Id since document_changes does not work for C and C++ (15.03.2019, forkel) 19 16 // 20 17 // global_subtolower (June 2018, forkel) -
palm/trunk/UTIL/chemistry/gasphase_preproc/kpp4palm/src/program_line.h
r3458 r3799 12 12 // ############################################################################ 13 13 // 14 //Current revisions:15 //------------------16 //17 14 // 18 15 // Former revisions: 19 16 // ----------------------- 20 // $Id: program_line.h 3327 2018-10-09 19:55:00Z forkel $17 // Deleted $Id since document_changes does not work for C and C++ (15.03.2019, forkel) 21 18 // 22 19 // added void global_subtolower(string &line); (June 2018, forkel) -
palm/trunk/UTIL/chemistry/gasphase_preproc/kpp4palm/src/utils.C
r3458 r3799 10 10 // ############################################################################ 11 11 // 12 //Current revisions:13 //------------------14 //15 12 // 16 13 // Former revisions: 17 14 // ----------------------- 18 // $Id: utils.C 3327 2018-10-09 19:55:00Z forkel $15 // Deleted $Id since document_changes does not work for C and C++ (15.03.2019, forkel) 19 16 // 20 17 // initial version (Nov. 2016, ketelsen) -
palm/trunk/UTIL/chemistry/gasphase_preproc/kpp4palm/src/utils.h
r3458 r3799 12 12 // ############################################################################ 13 13 // 14 //Current revisions:15 //------------------16 //17 14 // 18 15 // Former revisions: 19 16 // ----------------------- 20 // $Id: utils.h 3327 2018-10-09 19:55:00Z forkel $17 // Deleted $Id since document_changes does not work for C and C++ (15.03.2019, forkel) 21 18 // 22 19 // initial version (Nov. 2016, ketelsen) -
palm/trunk/UTIL/chemistry/gasphase_preproc/mechanisms/def_cbm4/chem_gasphase_mod.f90
r3789 r3799 98 98 99 99 LOGICAL :: data_loaded = .FALSE. 100 REAL(dp), POINTER, DIMENSION(:), CONTIGUOUS :: var 100 101 ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 101 102 ! … … 113 114 ! 114 115 ! File : chem_gasphase_mod_Parameters.f90 115 ! Time : Fri Mar 8 19:00:592019116 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm116 ! Time : Fri Mar 15 16:28:21 2019 117 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 117 118 ! Equation file : chem_gasphase_mod.kpp 118 119 ! Output root filename : chem_gasphase_mod … … 220 221 ! 221 222 ! File : chem_gasphase_mod_Global.f90 222 ! Time : Fri Mar 8 19:00:592019223 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm223 ! Time : Fri Mar 15 16:28:21 2019 224 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 224 225 ! Equation file : chem_gasphase_mod.kpp 225 226 ! Output root filename : chem_gasphase_mod … … 235 236 236 237 ! C - Concentration of all species 237 REAL(kind=dp) :: c(nspec)238 REAL(kind=dp), TARGET :: c(nspec) 238 239 ! VAR - Concentrations of variable species (global) 239 REAL(kind=dp):: var(nvar) 240 ! REAL(kind=dp):: var(nvar) var is now POINTER 240 241 ! FIX - Concentrations of fixed species (global) 241 242 REAL(kind=dp):: fix(nfix) 242 243 ! VAR,FIX are chunks of array C 243 EQUIVALENCE( c(1), var(1))244 EQUIVALENCE( c(33), fix(1))245 244 ! RCONST - Rate constants (global) 246 245 REAL(kind=dp):: rconst(nreact) … … 287 286 ! 288 287 ! File : chem_gasphase_mod_JacobianSP.f90 289 ! Time : Fri Mar 8 19:00:592019290 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm288 ! Time : Fri Mar 15 16:28:21 2019 289 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 291 290 ! Equation file : chem_gasphase_mod.kpp 292 291 ! Output root filename : chem_gasphase_mod … … 383 382 ! 384 383 ! File : chem_gasphase_mod_Monitor.f90 385 ! Time : Fri Mar 8 19:00:592019386 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm384 ! Time : Fri Mar 15 16:28:21 2019 385 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 387 386 ! Equation file : chem_gasphase_mod.kpp 388 387 ! Output root filename : chem_gasphase_mod … … 546 545 ! 547 546 ! File : chem_gasphase_mod_Initialize.f90 548 ! Time : Fri Mar 8 19:00:592019549 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm547 ! Time : Fri Mar 15 16:28:21 2019 548 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 550 549 ! Equation file : chem_gasphase_mod.kpp 551 550 ! Output root filename : chem_gasphase_mod … … 572 571 ! 573 572 ! File : chem_gasphase_mod_Integrator.f90 574 ! Time : Fri Mar 8 19:00:592019575 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm573 ! Time : Fri Mar 15 16:28:21 2019 574 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 576 575 ! Equation file : chem_gasphase_mod.kpp 577 576 ! Output root filename : chem_gasphase_mod … … 630 629 ! 631 630 ! File : chem_gasphase_mod_LinearAlgebra.f90 632 ! Time : Fri Mar 8 19:00:592019633 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm631 ! Time : Fri Mar 15 16:28:21 2019 632 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 634 633 ! Equation file : chem_gasphase_mod.kpp 635 634 ! Output root filename : chem_gasphase_mod … … 657 656 ! 658 657 ! File : chem_gasphase_mod_Jacobian.f90 659 ! Time : Fri Mar 8 19:00:592019660 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm658 ! Time : Fri Mar 15 16:28:21 2019 659 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 661 660 ! Equation file : chem_gasphase_mod.kpp 662 661 ! Output root filename : chem_gasphase_mod … … 684 683 ! 685 684 ! File : chem_gasphase_mod_Function.f90 686 ! Time : Fri Mar 8 19:00:592019687 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm685 ! Time : Fri Mar 15 16:28:21 2019 686 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 688 687 ! Equation file : chem_gasphase_mod.kpp 689 688 ! Output root filename : chem_gasphase_mod … … 713 712 ! 714 713 ! File : chem_gasphase_mod_Rates.f90 715 ! Time : Fri Mar 8 19:00:592019716 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm714 ! Time : Fri Mar 15 16:28:21 2019 715 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 717 716 ! Equation file : chem_gasphase_mod.kpp 718 717 ! Output root filename : chem_gasphase_mod … … 739 738 ! 740 739 ! File : chem_gasphase_mod_Util.f90 741 ! Time : Fri Mar 8 19:00:592019742 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm740 ! Time : Fri Mar 15 16:28:21 2019 741 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 743 742 ! Equation file : chem_gasphase_mod.kpp 744 743 ! Output root filename : chem_gasphase_mod … … 855 854 856 855 856 ! openmp directives generated by kp4 857 858 !$OMP THREADPRIVATE (vl, vl_glo, is, ie, data_loaded) 859 !$OMP THREADPRIVATE (c, var, fix, rconst, time, temp, stepmin, cfactor) 860 !$OMP THREADPRIVATE (qvap, fakt, cs_mech, a, icntrl, rcntrl) 861 857 862 CONTAINS 858 863 … … 866 871 k = is 867 872 cfactor = 1.000000e+00_dp 873 ! 874 ! Following line is just to avoid compiler message about unused variables 875 IF ( lu_crow(1) == 1 .OR. lu_icol(1) == 1 .OR. lu_irow(1) == 1 ) CONTINUE 876 ! 868 877 869 878 x = (0.) * cfactor … … 953 962 954 963 964 ! Following line is just to avoid compiler message about unused variables 965 IF ( f(nfix) > 0.0_dp ) CONTINUE 966 ! 955 967 ! Computation of equation rates 956 968 a(1) = rct(1) * v(26) … … 1207 1219 ! B - Temporary array 1208 1220 REAL(kind=dp):: b(138) 1221 ! 1222 ! Following line is just to avoid compiler message about unused variables 1223 IF ( f(nfix) > 0.0_dp ) CONTINUE 1209 1224 1210 1225 ! B(1) = dA(1)/dV(26) … … 2273 2288 REAL(kind=dp) :: x(n), alpha 2274 2289 REAL(kind=dp), PARAMETER :: zero=0.0_dp, one=1.0_dp 2290 ! 2291 ! Following line is just to avoid compiler message about unused variables 2292 IF ( incx == 0 ) CONTINUE 2275 2293 2276 2294 IF (alpha .eq. one)RETURN … … 2336 2354 REAL(kind=dp), PARAMETER :: zero = 0.0_dp 2337 2355 2356 ! 2357 ! Following line is just to avoid compiler message about unused variables 2358 IF ( incx == 0 .OR. incy == 0 ) CONTINUE 2338 2359 IF (alpha .eq. zero)RETURN 2339 2360 IF (n .le. 0)RETURN … … 3068 3089 !~~~> inout variables 3069 3090 REAL(kind=dp), INTENT(INOUT):: b(n) 3091 ! 3092 ! Following line is just to avoid compiler message about unused variables 3093 IF ( pivot(1) == 0 ) CONTINUE 3070 3094 3071 3095 #ifdef full_algebra … … 3987 4011 IF (PRESENT (rcntrl_i)) rcntrl = rcntrl_i 3988 4012 4013 var => c(1:nvar) 4014 3989 4015 vl_glo = size(tempi, 1) 3990 4016 -
palm/trunk/UTIL/chemistry/gasphase_preproc/mechanisms/def_passive/chem_gasphase_mod.f90
r3789 r3799 98 98 99 99 LOGICAL :: data_loaded = .FALSE. 100 REAL(dp), POINTER, DIMENSION(:), CONTIGUOUS :: var 100 101 ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 101 102 ! … … 113 114 ! 114 115 ! File : chem_gasphase_mod_Parameters.f90 115 ! Time : Fri Mar 8 19:00:592019116 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm116 ! Time : Fri Mar 15 16:28:22 2019 117 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 117 118 ! Equation file : chem_gasphase_mod.kpp 118 119 ! Output root filename : chem_gasphase_mod … … 188 189 ! 189 190 ! File : chem_gasphase_mod_Global.f90 190 ! Time : Fri Mar 8 19:00:592019191 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm191 ! Time : Fri Mar 15 16:28:22 2019 192 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 192 193 ! Equation file : chem_gasphase_mod.kpp 193 194 ! Output root filename : chem_gasphase_mod … … 203 204 204 205 ! C - Concentration of all species 205 REAL(kind=dp) :: c(nspec)206 REAL(kind=dp), TARGET :: c(nspec) 206 207 ! VAR - Concentrations of variable species (global) 207 REAL(kind=dp):: var(nvar) 208 ! REAL(kind=dp):: var(nvar) var is now POINTER 208 209 ! FIX - Concentrations of fixed species (global) 209 210 REAL(kind=dp):: fix(nfix) 210 211 ! VAR,FIX are chunks of array C 211 EQUIVALENCE( c(1), var(1))212 212 ! RCONST - Rate constants (global) 213 213 REAL(kind=dp):: rconst(nreact) … … 254 254 ! 255 255 ! File : chem_gasphase_mod_JacobianSP.f90 256 ! Time : Fri Mar 8 19:00:592019257 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm256 ! Time : Fri Mar 15 16:28:22 2019 257 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 258 258 ! Equation file : chem_gasphase_mod.kpp 259 259 ! Output root filename : chem_gasphase_mod … … 298 298 ! 299 299 ! File : chem_gasphase_mod_Monitor.f90 300 ! Time : Fri Mar 8 19:00:592019301 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm300 ! Time : Fri Mar 15 16:28:22 2019 301 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 302 302 ! Equation file : chem_gasphase_mod.kpp 303 303 ! Output root filename : chem_gasphase_mod … … 358 358 ! 359 359 ! File : chem_gasphase_mod_Initialize.f90 360 ! Time : Fri Mar 8 19:00:592019361 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm360 ! Time : Fri Mar 15 16:28:22 2019 361 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 362 362 ! Equation file : chem_gasphase_mod.kpp 363 363 ! Output root filename : chem_gasphase_mod … … 384 384 ! 385 385 ! File : chem_gasphase_mod_Integrator.f90 386 ! Time : Fri Mar 8 19:00:592019387 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm386 ! Time : Fri Mar 15 16:28:22 2019 387 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 388 388 ! Equation file : chem_gasphase_mod.kpp 389 389 ! Output root filename : chem_gasphase_mod … … 442 442 ! 443 443 ! File : chem_gasphase_mod_LinearAlgebra.f90 444 ! Time : Fri Mar 8 19:00:592019445 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm444 ! Time : Fri Mar 15 16:28:22 2019 445 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 446 446 ! Equation file : chem_gasphase_mod.kpp 447 447 ! Output root filename : chem_gasphase_mod … … 469 469 ! 470 470 ! File : chem_gasphase_mod_Jacobian.f90 471 ! Time : Fri Mar 8 19:00:592019472 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm471 ! Time : Fri Mar 15 16:28:22 2019 472 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 473 473 ! Equation file : chem_gasphase_mod.kpp 474 474 ! Output root filename : chem_gasphase_mod … … 496 496 ! 497 497 ! File : chem_gasphase_mod_Function.f90 498 ! Time : Fri Mar 8 19:00:592019499 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm498 ! Time : Fri Mar 15 16:28:22 2019 499 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 500 500 ! Equation file : chem_gasphase_mod.kpp 501 501 ! Output root filename : chem_gasphase_mod … … 525 525 ! 526 526 ! File : chem_gasphase_mod_Rates.f90 527 ! Time : Fri Mar 8 19:00:592019528 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm527 ! Time : Fri Mar 15 16:28:22 2019 528 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 529 529 ! Equation file : chem_gasphase_mod.kpp 530 530 ! Output root filename : chem_gasphase_mod … … 551 551 ! 552 552 ! File : chem_gasphase_mod_Util.f90 553 ! Time : Fri Mar 8 19:00:592019554 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm553 ! Time : Fri Mar 15 16:28:22 2019 554 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 555 555 ! Equation file : chem_gasphase_mod.kpp 556 556 ! Output root filename : chem_gasphase_mod … … 667 667 668 668 669 ! openmp directives generated by kp4 670 671 !$OMP THREADPRIVATE (vl, vl_glo, is, ie, data_loaded) 672 !$OMP THREADPRIVATE (c, var, fix, rconst, time, temp, stepmin, cfactor) 673 !$OMP THREADPRIVATE (qvap, fakt, cs_mech, a, icntrl, rcntrl) 674 669 675 CONTAINS 670 676 … … 678 684 k = is 679 685 cfactor = 1.000000e+00_dp 686 ! 687 ! Following line is just to avoid compiler message about unused variables 688 IF ( lu_crow(1) == 1 .OR. lu_icol(1) == 1 .OR. lu_irow(1) == 1 ) CONTINUE 689 ! 680 690 681 691 x = (0.) * cfactor … … 763 773 764 774 775 ! Following line is just to avoid compiler message about unused variables 776 IF ( f(nfix) > 0.0_dp ) CONTINUE 777 ! 765 778 ! Computation of equation rates 766 779 … … 798 811 ! B - Temporary array 799 812 REAL(kind=dp):: b(2) 813 ! 814 ! Following line is just to avoid compiler message about unused variables 815 IF ( f(nfix) > 0.0_dp ) CONTINUE 800 816 801 817 ! B(1) = dA(1)/dV(1) … … 921 937 REAL(kind=dp) :: x(n), alpha 922 938 REAL(kind=dp), PARAMETER :: zero=0.0_dp, one=1.0_dp 939 ! 940 ! Following line is just to avoid compiler message about unused variables 941 IF ( incx == 0 ) CONTINUE 923 942 924 943 IF (alpha .eq. one)RETURN … … 984 1003 REAL(kind=dp), PARAMETER :: zero = 0.0_dp 985 1004 1005 ! 1006 ! Following line is just to avoid compiler message about unused variables 1007 IF ( incx == 0 .OR. incy == 0 ) CONTINUE 986 1008 IF (alpha .eq. zero)RETURN 987 1009 IF (n .le. 0)RETURN … … 1716 1738 !~~~> inout variables 1717 1739 REAL(kind=dp), INTENT(INOUT):: b(n) 1740 ! 1741 ! Following line is just to avoid compiler message about unused variables 1742 IF ( pivot(1) == 0 ) CONTINUE 1718 1743 1719 1744 #ifdef full_algebra … … 2266 2291 IF (PRESENT (rcntrl_i)) rcntrl = rcntrl_i 2267 2292 2293 var => c(1:nvar) 2294 2268 2295 vl_glo = size(tempi, 1) 2269 2296 -
palm/trunk/UTIL/chemistry/gasphase_preproc/mechanisms/def_passive1/chem_gasphase_mod.f90
r3789 r3799 98 98 99 99 LOGICAL :: data_loaded = .FALSE. 100 REAL(dp), POINTER, DIMENSION(:), CONTIGUOUS :: var 100 101 ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 101 102 ! … … 113 114 ! 114 115 ! File : chem_gasphase_mod_Parameters.f90 115 ! Time : Fri Mar 8 19:01:002019116 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm116 ! Time : Fri Mar 15 16:28:23 2019 117 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 117 118 ! Equation file : chem_gasphase_mod.kpp 118 119 ! Output root filename : chem_gasphase_mod … … 187 188 ! 188 189 ! File : chem_gasphase_mod_Global.f90 189 ! Time : Fri Mar 8 19:01:002019190 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm190 ! Time : Fri Mar 15 16:28:23 2019 191 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 191 192 ! Equation file : chem_gasphase_mod.kpp 192 193 ! Output root filename : chem_gasphase_mod … … 202 203 203 204 ! C - Concentration of all species 204 REAL(kind=dp) :: c(nspec)205 REAL(kind=dp), TARGET :: c(nspec) 205 206 ! VAR - Concentrations of variable species (global) 206 REAL(kind=dp):: var(nvar) 207 ! REAL(kind=dp):: var(nvar) var is now POINTER 207 208 ! FIX - Concentrations of fixed species (global) 208 209 REAL(kind=dp):: fix(nfix) 209 210 ! VAR,FIX are chunks of array C 210 EQUIVALENCE( c(1), var(1))211 211 ! RCONST - Rate constants (global) 212 212 REAL(kind=dp):: rconst(nreact) … … 253 253 ! 254 254 ! File : chem_gasphase_mod_JacobianSP.f90 255 ! Time : Fri Mar 8 19:01:002019256 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm255 ! Time : Fri Mar 15 16:28:23 2019 256 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 257 257 ! Equation file : chem_gasphase_mod.kpp 258 258 ! Output root filename : chem_gasphase_mod … … 297 297 ! 298 298 ! File : chem_gasphase_mod_Monitor.f90 299 ! Time : Fri Mar 8 19:01:002019300 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm299 ! Time : Fri Mar 15 16:28:23 2019 300 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 301 301 ! Equation file : chem_gasphase_mod.kpp 302 302 ! Output root filename : chem_gasphase_mod … … 356 356 ! 357 357 ! File : chem_gasphase_mod_Initialize.f90 358 ! Time : Fri Mar 8 19:01:002019359 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm358 ! Time : Fri Mar 15 16:28:23 2019 359 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 360 360 ! Equation file : chem_gasphase_mod.kpp 361 361 ! Output root filename : chem_gasphase_mod … … 382 382 ! 383 383 ! File : chem_gasphase_mod_Integrator.f90 384 ! Time : Fri Mar 8 19:01:002019385 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm384 ! Time : Fri Mar 15 16:28:23 2019 385 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 386 386 ! Equation file : chem_gasphase_mod.kpp 387 387 ! Output root filename : chem_gasphase_mod … … 440 440 ! 441 441 ! File : chem_gasphase_mod_LinearAlgebra.f90 442 ! Time : Fri Mar 8 19:01:002019443 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm442 ! Time : Fri Mar 15 16:28:23 2019 443 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 444 444 ! Equation file : chem_gasphase_mod.kpp 445 445 ! Output root filename : chem_gasphase_mod … … 467 467 ! 468 468 ! File : chem_gasphase_mod_Jacobian.f90 469 ! Time : Fri Mar 8 19:01:002019470 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm469 ! Time : Fri Mar 15 16:28:23 2019 470 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 471 471 ! Equation file : chem_gasphase_mod.kpp 472 472 ! Output root filename : chem_gasphase_mod … … 494 494 ! 495 495 ! File : chem_gasphase_mod_Function.f90 496 ! Time : Fri Mar 8 19:01:002019497 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm496 ! Time : Fri Mar 15 16:28:23 2019 497 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 498 498 ! Equation file : chem_gasphase_mod.kpp 499 499 ! Output root filename : chem_gasphase_mod … … 523 523 ! 524 524 ! File : chem_gasphase_mod_Rates.f90 525 ! Time : Fri Mar 8 19:01:002019526 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm525 ! Time : Fri Mar 15 16:28:23 2019 526 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 527 527 ! Equation file : chem_gasphase_mod.kpp 528 528 ! Output root filename : chem_gasphase_mod … … 549 549 ! 550 550 ! File : chem_gasphase_mod_Util.f90 551 ! Time : Fri Mar 8 19:01:002019552 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm551 ! Time : Fri Mar 15 16:28:23 2019 552 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 553 553 ! Equation file : chem_gasphase_mod.kpp 554 554 ! Output root filename : chem_gasphase_mod … … 665 665 666 666 667 ! openmp directives generated by kp4 668 669 !$OMP THREADPRIVATE (vl, vl_glo, is, ie, data_loaded) 670 !$OMP THREADPRIVATE (c, var, fix, rconst, time, temp, stepmin, cfactor) 671 !$OMP THREADPRIVATE (qvap, fakt, cs_mech, a, icntrl, rcntrl) 672 667 673 CONTAINS 668 674 … … 676 682 k = is 677 683 cfactor = 1.000000e+00_dp 684 ! 685 ! Following line is just to avoid compiler message about unused variables 686 IF ( lu_crow(1) == 1 .OR. lu_icol(1) == 1 .OR. lu_irow(1) == 1 ) CONTINUE 687 ! 678 688 679 689 x = (0.) * cfactor … … 761 771 762 772 773 ! Following line is just to avoid compiler message about unused variables 774 IF ( f(nfix) > 0.0_dp ) CONTINUE 775 ! 763 776 ! Computation of equation rates 764 777 … … 794 807 ! B - Temporary array 795 808 REAL(kind=dp):: b(1) 809 ! 810 ! Following line is just to avoid compiler message about unused variables 811 IF ( f(nfix) > 0.0_dp ) CONTINUE 796 812 797 813 ! B(1) = dA(1)/dV(1) … … 912 928 REAL(kind=dp) :: x(n), alpha 913 929 REAL(kind=dp), PARAMETER :: zero=0.0_dp, one=1.0_dp 930 ! 931 ! Following line is just to avoid compiler message about unused variables 932 IF ( incx == 0 ) CONTINUE 914 933 915 934 IF (alpha .eq. one)RETURN … … 975 994 REAL(kind=dp), PARAMETER :: zero = 0.0_dp 976 995 996 ! 997 ! Following line is just to avoid compiler message about unused variables 998 IF ( incx == 0 .OR. incy == 0 ) CONTINUE 977 999 IF (alpha .eq. zero)RETURN 978 1000 IF (n .le. 0)RETURN … … 1707 1729 !~~~> inout variables 1708 1730 REAL(kind=dp), INTENT(INOUT):: b(n) 1731 ! 1732 ! Following line is just to avoid compiler message about unused variables 1733 IF ( pivot(1) == 0 ) CONTINUE 1709 1734 1710 1735 #ifdef full_algebra … … 2256 2281 IF (PRESENT (rcntrl_i)) rcntrl = rcntrl_i 2257 2282 2283 var => c(1:nvar) 2284 2258 2285 vl_glo = size(tempi, 1) 2259 2286 -
palm/trunk/UTIL/chemistry/gasphase_preproc/mechanisms/def_phstat/chem_gasphase_mod.f90
r3789 r3799 98 98 99 99 LOGICAL :: data_loaded = .FALSE. 100 REAL(dp), POINTER, DIMENSION(:), CONTIGUOUS :: var 100 101 ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 101 102 ! … … 113 114 ! 114 115 ! File : chem_gasphase_mod_Parameters.f90 115 ! Time : Fri Mar 8 19:01:002019116 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm116 ! Time : Fri Mar 15 16:28:24 2019 117 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 117 118 ! Equation file : chem_gasphase_mod.kpp 118 119 ! Output root filename : chem_gasphase_mod … … 189 190 ! 190 191 ! File : chem_gasphase_mod_Global.f90 191 ! Time : Fri Mar 8 19:01:002019192 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm192 ! Time : Fri Mar 15 16:28:24 2019 193 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 193 194 ! Equation file : chem_gasphase_mod.kpp 194 195 ! Output root filename : chem_gasphase_mod … … 204 205 205 206 ! C - Concentration of all species 206 REAL(kind=dp) :: c(nspec)207 REAL(kind=dp), TARGET :: c(nspec) 207 208 ! VAR - Concentrations of variable species (global) 208 REAL(kind=dp):: var(nvar) 209 ! REAL(kind=dp):: var(nvar) var is now POINTER 209 210 ! FIX - Concentrations of fixed species (global) 210 211 REAL(kind=dp):: fix(nfix) 211 212 ! VAR,FIX are chunks of array C 212 EQUIVALENCE( c(1), var(1))213 213 ! RCONST - Rate constants (global) 214 214 REAL(kind=dp):: rconst(nreact) … … 255 255 ! 256 256 ! File : chem_gasphase_mod_JacobianSP.f90 257 ! Time : Fri Mar 8 19:01:002019258 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm257 ! Time : Fri Mar 15 16:28:24 2019 258 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 259 259 ! Equation file : chem_gasphase_mod.kpp 260 260 ! Output root filename : chem_gasphase_mod … … 299 299 ! 300 300 ! File : chem_gasphase_mod_Monitor.f90 301 ! Time : Fri Mar 8 19:01:002019302 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm301 ! Time : Fri Mar 15 16:28:24 2019 302 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 303 303 ! Equation file : chem_gasphase_mod.kpp 304 304 ! Output root filename : chem_gasphase_mod … … 359 359 ! 360 360 ! File : chem_gasphase_mod_Initialize.f90 361 ! Time : Fri Mar 8 19:01:002019362 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm361 ! Time : Fri Mar 15 16:28:24 2019 362 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 363 363 ! Equation file : chem_gasphase_mod.kpp 364 364 ! Output root filename : chem_gasphase_mod … … 385 385 ! 386 386 ! File : chem_gasphase_mod_Integrator.f90 387 ! Time : Fri Mar 8 19:01:002019388 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm387 ! Time : Fri Mar 15 16:28:24 2019 388 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 389 389 ! Equation file : chem_gasphase_mod.kpp 390 390 ! Output root filename : chem_gasphase_mod … … 443 443 ! 444 444 ! File : chem_gasphase_mod_LinearAlgebra.f90 445 ! Time : Fri Mar 8 19:01:002019446 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm445 ! Time : Fri Mar 15 16:28:24 2019 446 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 447 447 ! Equation file : chem_gasphase_mod.kpp 448 448 ! Output root filename : chem_gasphase_mod … … 470 470 ! 471 471 ! File : chem_gasphase_mod_Jacobian.f90 472 ! Time : Fri Mar 8 19:01:002019473 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm472 ! Time : Fri Mar 15 16:28:24 2019 473 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 474 474 ! Equation file : chem_gasphase_mod.kpp 475 475 ! Output root filename : chem_gasphase_mod … … 497 497 ! 498 498 ! File : chem_gasphase_mod_Function.f90 499 ! Time : Fri Mar 8 19:01:002019500 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm499 ! Time : Fri Mar 15 16:28:24 2019 500 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 501 501 ! Equation file : chem_gasphase_mod.kpp 502 502 ! Output root filename : chem_gasphase_mod … … 526 526 ! 527 527 ! File : chem_gasphase_mod_Rates.f90 528 ! Time : Fri Mar 8 19:01:002019529 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm528 ! Time : Fri Mar 15 16:28:24 2019 529 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 530 530 ! Equation file : chem_gasphase_mod.kpp 531 531 ! Output root filename : chem_gasphase_mod … … 552 552 ! 553 553 ! File : chem_gasphase_mod_Util.f90 554 ! Time : Fri Mar 8 19:01:002019555 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm554 ! Time : Fri Mar 15 16:28:24 2019 555 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 556 556 ! Equation file : chem_gasphase_mod.kpp 557 557 ! Output root filename : chem_gasphase_mod … … 668 668 669 669 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 670 676 CONTAINS 671 677 … … 679 685 k = is 680 686 cfactor = 1.000000e+00_dp 687 ! 688 ! Following line is just to avoid compiler message about unused variables 689 IF ( lu_crow(1) == 1 .OR. lu_icol(1) == 1 .OR. lu_irow(1) == 1 ) CONTINUE 690 ! 681 691 682 692 x = (0.) * cfactor … … 764 774 765 775 776 ! Following line is just to avoid compiler message about unused variables 777 IF ( f(nfix) > 0.0_dp ) CONTINUE 778 ! 766 779 ! Computation of equation rates 767 780 a(1) = rct(1) * v(3) … … 805 818 ! B - Temporary array 806 819 REAL(kind=dp):: b(3) 820 ! 821 ! Following line is just to avoid compiler message about unused variables 822 IF ( f(nfix) > 0.0_dp ) CONTINUE 807 823 808 824 ! B(1) = dA(1)/dV(3) … … 944 960 REAL(kind=dp) :: x(n), alpha 945 961 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 964 IF ( incx == 0 ) CONTINUE 946 965 947 966 IF (alpha .eq. one)RETURN … … 1007 1026 REAL(kind=dp), PARAMETER :: zero = 0.0_dp 1008 1027 1028 ! 1029 ! Following line is just to avoid compiler message about unused variables 1030 IF ( incx == 0 .OR. incy == 0 ) CONTINUE 1009 1031 IF (alpha .eq. zero)RETURN 1010 1032 IF (n .le. 0)RETURN … … 1739 1761 !~~~> inout variables 1740 1762 REAL(kind=dp), INTENT(INOUT):: b(n) 1763 ! 1764 ! Following line is just to avoid compiler message about unused variables 1765 IF ( pivot(1) == 0 ) CONTINUE 1741 1766 1742 1767 #ifdef full_algebra … … 2297 2322 IF (PRESENT (rcntrl_i)) rcntrl = rcntrl_i 2298 2323 2324 var => c(1:nvar) 2325 2299 2326 vl_glo = size(tempi, 1) 2300 2327 -
palm/trunk/UTIL/chemistry/gasphase_preproc/mechanisms/def_phstatp/chem_gasphase_mod.f90
r3789 r3799 98 98 99 99 LOGICAL :: data_loaded = .FALSE. 100 REAL(dp), POINTER, DIMENSION(:), CONTIGUOUS :: var 100 101 ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 101 102 ! … … 113 114 ! 114 115 ! File : chem_gasphase_mod_Parameters.f90 115 ! Time : Fri Mar 8 19:01:032019116 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm116 ! Time : Fri Mar 15 16:28:29 2019 117 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 117 118 ! Equation file : chem_gasphase_mod.kpp 118 119 ! Output root filename : chem_gasphase_mod … … 190 191 ! 191 192 ! File : chem_gasphase_mod_Global.f90 192 ! Time : Fri Mar 8 19:01:032019193 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm193 ! Time : Fri Mar 15 16:28:29 2019 194 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 194 195 ! Equation file : chem_gasphase_mod.kpp 195 196 ! Output root filename : chem_gasphase_mod … … 205 206 206 207 ! C - Concentration of all species 207 REAL(kind=dp) :: c(nspec)208 REAL(kind=dp), TARGET :: c(nspec) 208 209 ! VAR - Concentrations of variable species (global) 209 REAL(kind=dp):: var(nvar) 210 ! REAL(kind=dp):: var(nvar) var is now POINTER 210 211 ! FIX - Concentrations of fixed species (global) 211 212 REAL(kind=dp):: fix(nfix) 212 213 ! VAR,FIX are chunks of array C 213 EQUIVALENCE( c(1), var(1))214 214 ! RCONST - Rate constants (global) 215 215 REAL(kind=dp):: rconst(nreact) … … 256 256 ! 257 257 ! File : chem_gasphase_mod_JacobianSP.f90 258 ! Time : Fri Mar 8 19:01:032019259 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm258 ! Time : Fri Mar 15 16:28:29 2019 259 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 260 260 ! Equation file : chem_gasphase_mod.kpp 261 261 ! Output root filename : chem_gasphase_mod … … 300 300 ! 301 301 ! File : chem_gasphase_mod_Monitor.f90 302 ! Time : Fri Mar 8 19:01:032019303 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm302 ! Time : Fri Mar 15 16:28:29 2019 303 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 304 304 ! Equation file : chem_gasphase_mod.kpp 305 305 ! Output root filename : chem_gasphase_mod … … 362 362 ! 363 363 ! File : chem_gasphase_mod_Initialize.f90 364 ! Time : Fri Mar 8 19:01:032019365 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm364 ! Time : Fri Mar 15 16:28:29 2019 365 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 366 366 ! Equation file : chem_gasphase_mod.kpp 367 367 ! Output root filename : chem_gasphase_mod … … 388 388 ! 389 389 ! File : chem_gasphase_mod_Integrator.f90 390 ! Time : Fri Mar 8 19:01:032019391 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm390 ! Time : Fri Mar 15 16:28:29 2019 391 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 392 392 ! Equation file : chem_gasphase_mod.kpp 393 393 ! Output root filename : chem_gasphase_mod … … 446 446 ! 447 447 ! File : chem_gasphase_mod_LinearAlgebra.f90 448 ! Time : Fri Mar 8 19:01:032019449 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm448 ! Time : Fri Mar 15 16:28:29 2019 449 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 450 450 ! Equation file : chem_gasphase_mod.kpp 451 451 ! Output root filename : chem_gasphase_mod … … 473 473 ! 474 474 ! File : chem_gasphase_mod_Jacobian.f90 475 ! Time : Fri Mar 8 19:01:032019476 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm475 ! Time : Fri Mar 15 16:28:29 2019 476 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 477 477 ! Equation file : chem_gasphase_mod.kpp 478 478 ! Output root filename : chem_gasphase_mod … … 500 500 ! 501 501 ! File : chem_gasphase_mod_Function.f90 502 ! Time : Fri Mar 8 19:01:032019503 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm502 ! Time : Fri Mar 15 16:28:29 2019 503 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 504 504 ! Equation file : chem_gasphase_mod.kpp 505 505 ! Output root filename : chem_gasphase_mod … … 529 529 ! 530 530 ! File : chem_gasphase_mod_Rates.f90 531 ! Time : Fri Mar 8 19:01:032019532 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm531 ! Time : Fri Mar 15 16:28:29 2019 532 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 533 533 ! Equation file : chem_gasphase_mod.kpp 534 534 ! Output root filename : chem_gasphase_mod … … 555 555 ! 556 556 ! File : chem_gasphase_mod_Util.f90 557 ! Time : Fri Mar 8 19:01:032019558 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm557 ! Time : Fri Mar 15 16:28:29 2019 558 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 559 559 ! Equation file : chem_gasphase_mod.kpp 560 560 ! Output root filename : chem_gasphase_mod … … 671 671 672 672 673 ! openmp directives generated by kp4 674 675 !$OMP THREADPRIVATE (vl, vl_glo, is, ie, data_loaded) 676 !$OMP THREADPRIVATE (c, var, fix, rconst, time, temp, stepmin, cfactor) 677 !$OMP THREADPRIVATE (qvap, fakt, cs_mech, a, icntrl, rcntrl) 678 673 679 CONTAINS 674 680 … … 682 688 k = is 683 689 cfactor = 1.000000e+00_dp 690 ! 691 ! Following line is just to avoid compiler message about unused variables 692 IF ( lu_crow(1) == 1 .OR. lu_icol(1) == 1 .OR. lu_irow(1) == 1 ) CONTINUE 693 ! 684 694 685 695 x = (0.) * cfactor … … 767 777 768 778 779 ! Following line is just to avoid compiler message about unused variables 780 IF ( f(nfix) > 0.0_dp ) CONTINUE 781 ! 769 782 ! Computation of equation rates 770 783 a(1) = rct(1) * v(3) … … 810 823 ! B - Temporary array 811 824 REAL(kind=dp):: b(4) 825 ! 826 ! Following line is just to avoid compiler message about unused variables 827 IF ( f(nfix) > 0.0_dp ) CONTINUE 812 828 813 829 ! B(1) = dA(1)/dV(3) … … 954 970 REAL(kind=dp) :: x(n), alpha 955 971 REAL(kind=dp), PARAMETER :: zero=0.0_dp, one=1.0_dp 972 ! 973 ! Following line is just to avoid compiler message about unused variables 974 IF ( incx == 0 ) CONTINUE 956 975 957 976 IF (alpha .eq. one)RETURN … … 1017 1036 REAL(kind=dp), PARAMETER :: zero = 0.0_dp 1018 1037 1038 ! 1039 ! Following line is just to avoid compiler message about unused variables 1040 IF ( incx == 0 .OR. incy == 0 ) CONTINUE 1019 1041 IF (alpha .eq. zero)RETURN 1020 1042 IF (n .le. 0)RETURN … … 1749 1771 !~~~> inout variables 1750 1772 REAL(kind=dp), INTENT(INOUT):: b(n) 1773 ! 1774 ! Following line is just to avoid compiler message about unused variables 1775 IF ( pivot(1) == 0 ) CONTINUE 1751 1776 1752 1777 #ifdef full_algebra … … 2308 2333 IF (PRESENT (rcntrl_i)) rcntrl = rcntrl_i 2309 2334 2335 var => c(1:nvar) 2336 2310 2337 vl_glo = size(tempi, 1) 2311 2338 -
palm/trunk/UTIL/chemistry/gasphase_preproc/mechanisms/def_salsa+phstat/chem_gasphase_mod.f90
r3789 r3799 98 98 99 99 LOGICAL :: data_loaded = .FALSE. 100 REAL(dp), POINTER, DIMENSION(:), CONTIGUOUS :: var 100 101 ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 101 102 ! … … 113 114 ! 114 115 ! File : chem_gasphase_mod_Parameters.f90 115 ! Time : Fri Mar 8 19:01:012019116 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm116 ! Time : Fri Mar 15 16:28:26 2019 117 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 117 118 ! Equation file : chem_gasphase_mod.kpp 118 119 ! Output root filename : chem_gasphase_mod … … 189 190 ! 190 191 ! File : chem_gasphase_mod_Global.f90 191 ! Time : Fri Mar 8 19:01:012019192 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm192 ! Time : Fri Mar 15 16:28:26 2019 193 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 193 194 ! Equation file : chem_gasphase_mod.kpp 194 195 ! Output root filename : chem_gasphase_mod … … 204 205 205 206 ! C - Concentration of all species 206 REAL(kind=dp) :: c(nspec)207 REAL(kind=dp), TARGET :: c(nspec) 207 208 ! VAR - Concentrations of variable species (global) 208 REAL(kind=dp):: var(nvar) 209 ! REAL(kind=dp):: var(nvar) var is now POINTER 209 210 ! FIX - Concentrations of fixed species (global) 210 211 REAL(kind=dp):: fix(nfix) 211 212 ! VAR,FIX are chunks of array C 212 EQUIVALENCE( c(1), var(1))213 213 ! RCONST - Rate constants (global) 214 214 REAL(kind=dp):: rconst(nreact) … … 264 264 ! 265 265 ! File : chem_gasphase_mod_JacobianSP.f90 266 ! Time : Fri Mar 8 19:01:012019267 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm266 ! Time : Fri Mar 15 16:28:26 2019 267 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 268 268 ! Equation file : chem_gasphase_mod.kpp 269 269 ! Output root filename : chem_gasphase_mod … … 308 308 ! 309 309 ! File : chem_gasphase_mod_Monitor.f90 310 ! Time : Fri Mar 8 19:01:012019311 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm310 ! Time : Fri Mar 15 16:28:26 2019 311 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 312 312 ! Equation file : chem_gasphase_mod.kpp 313 313 ! Output root filename : chem_gasphase_mod … … 368 368 ! 369 369 ! File : chem_gasphase_mod_Initialize.f90 370 ! Time : Fri Mar 8 19:01:012019371 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm370 ! Time : Fri Mar 15 16:28:26 2019 371 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 372 372 ! Equation file : chem_gasphase_mod.kpp 373 373 ! Output root filename : chem_gasphase_mod … … 394 394 ! 395 395 ! File : chem_gasphase_mod_Integrator.f90 396 ! Time : Fri Mar 8 19:01:012019397 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm396 ! Time : Fri Mar 15 16:28:26 2019 397 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 398 398 ! Equation file : chem_gasphase_mod.kpp 399 399 ! Output root filename : chem_gasphase_mod … … 452 452 ! 453 453 ! File : chem_gasphase_mod_LinearAlgebra.f90 454 ! Time : Fri Mar 8 19:01:012019455 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm454 ! Time : Fri Mar 15 16:28:26 2019 455 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 456 456 ! Equation file : chem_gasphase_mod.kpp 457 457 ! Output root filename : chem_gasphase_mod … … 479 479 ! 480 480 ! File : chem_gasphase_mod_Jacobian.f90 481 ! Time : Fri Mar 8 19:01:012019482 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm481 ! Time : Fri Mar 15 16:28:26 2019 482 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 483 483 ! Equation file : chem_gasphase_mod.kpp 484 484 ! Output root filename : chem_gasphase_mod … … 506 506 ! 507 507 ! File : chem_gasphase_mod_Function.f90 508 ! Time : Fri Mar 8 19:01:012019509 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm508 ! Time : Fri Mar 15 16:28:26 2019 509 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 510 510 ! Equation file : chem_gasphase_mod.kpp 511 511 ! Output root filename : chem_gasphase_mod … … 535 535 ! 536 536 ! File : chem_gasphase_mod_Rates.f90 537 ! Time : Fri Mar 8 19:01:012019538 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm537 ! Time : Fri Mar 15 16:28:26 2019 538 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 539 539 ! Equation file : chem_gasphase_mod.kpp 540 540 ! Output root filename : chem_gasphase_mod … … 561 561 ! 562 562 ! File : chem_gasphase_mod_Util.f90 563 ! Time : Fri Mar 8 19:01:012019564 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm563 ! Time : Fri Mar 15 16:28:26 2019 564 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 565 565 ! Equation file : chem_gasphase_mod.kpp 566 566 ! Output root filename : chem_gasphase_mod … … 677 677 678 678 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 679 685 CONTAINS 680 686 … … 688 694 k = is 689 695 cfactor = 1.000000e+00_dp 696 ! 697 ! Following line is just to avoid compiler message about unused variables 698 IF ( lu_crow(1) == 1 .OR. lu_icol(1) == 1 .OR. lu_irow(1) == 1 ) CONTINUE 699 ! 690 700 691 701 x = (0.) * cfactor … … 773 783 774 784 785 ! Following line is just to avoid compiler message about unused variables 786 IF ( f(nfix) > 0.0_dp ) CONTINUE 787 ! 775 788 ! Computation of equation rates 776 789 a(1) = rct(1) * v(3) … … 814 827 ! B - Temporary array 815 828 REAL(kind=dp):: b(3) 829 ! 830 ! Following line is just to avoid compiler message about unused variables 831 IF ( f(nfix) > 0.0_dp ) CONTINUE 816 832 817 833 ! B(1) = dA(1)/dV(3) … … 953 969 REAL(kind=dp) :: x(n), alpha 954 970 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 973 IF ( incx == 0 ) CONTINUE 955 974 956 975 IF (alpha .eq. one)RETURN … … 1016 1035 REAL(kind=dp), PARAMETER :: zero = 0.0_dp 1017 1036 1037 ! 1038 ! Following line is just to avoid compiler message about unused variables 1039 IF ( incx == 0 .OR. incy == 0 ) CONTINUE 1018 1040 IF (alpha .eq. zero)RETURN 1019 1041 IF (n .le. 0)RETURN … … 1748 1770 !~~~> inout variables 1749 1771 REAL(kind=dp), INTENT(INOUT):: b(n) 1772 ! 1773 ! Following line is just to avoid compiler message about unused variables 1774 IF ( pivot(1) == 0 ) CONTINUE 1750 1775 1751 1776 #ifdef full_algebra … … 2306 2331 IF (PRESENT (rcntrl_i)) rcntrl = rcntrl_i 2307 2332 2333 var => c(1:nvar) 2334 2308 2335 vl_glo = size(tempi, 1) 2309 2336 -
palm/trunk/UTIL/chemistry/gasphase_preproc/mechanisms/def_salsa+simple/chem_gasphase_mod.f90
r3789 r3799 98 98 99 99 LOGICAL :: data_loaded = .FALSE. 100 REAL(dp), POINTER, DIMENSION(:), CONTIGUOUS :: var 100 101 ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 101 102 ! … … 113 114 ! 114 115 ! File : chem_gasphase_mod_Parameters.f90 115 ! Time : Fri Mar 8 19:01:012019116 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm116 ! Time : Fri Mar 15 16:28:26 2019 117 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 117 118 ! Equation file : chem_gasphase_mod.kpp 118 119 ! Output root filename : chem_gasphase_mod … … 201 202 ! 202 203 ! File : chem_gasphase_mod_Global.f90 203 ! Time : Fri Mar 8 19:01:012019204 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm204 ! Time : Fri Mar 15 16:28:26 2019 205 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 205 206 ! Equation file : chem_gasphase_mod.kpp 206 207 ! Output root filename : chem_gasphase_mod … … 216 217 217 218 ! C - Concentration of all species 218 REAL(kind=dp) :: c(nspec)219 REAL(kind=dp), TARGET :: c(nspec) 219 220 ! VAR - Concentrations of variable species (global) 220 REAL(kind=dp):: var(nvar) 221 ! REAL(kind=dp):: var(nvar) var is now POINTER 221 222 ! FIX - Concentrations of fixed species (global) 222 223 REAL(kind=dp):: fix(nfix) 223 224 ! VAR,FIX are chunks of array C 224 EQUIVALENCE( c(1), var(1))225 EQUIVALENCE( c(14), fix(1))226 225 ! RCONST - Rate constants (global) 227 226 REAL(kind=dp):: rconst(nreact) … … 274 273 ! 275 274 ! File : chem_gasphase_mod_JacobianSP.f90 276 ! Time : Fri Mar 8 19:01:012019277 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm275 ! Time : Fri Mar 15 16:28:26 2019 276 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 278 277 ! Equation file : chem_gasphase_mod.kpp 279 278 ! Output root filename : chem_gasphase_mod … … 326 325 ! 327 326 ! File : chem_gasphase_mod_Monitor.f90 328 ! Time : Fri Mar 8 19:01:012019329 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm327 ! Time : Fri Mar 15 16:28:26 2019 328 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 330 329 ! Equation file : chem_gasphase_mod.kpp 331 330 ! Output root filename : chem_gasphase_mod … … 400 399 ! 401 400 ! File : chem_gasphase_mod_Initialize.f90 402 ! Time : Fri Mar 8 19:01:012019403 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm401 ! Time : Fri Mar 15 16:28:26 2019 402 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 404 403 ! Equation file : chem_gasphase_mod.kpp 405 404 ! Output root filename : chem_gasphase_mod … … 426 425 ! 427 426 ! File : chem_gasphase_mod_Integrator.f90 428 ! Time : Fri Mar 8 19:01:012019429 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm427 ! Time : Fri Mar 15 16:28:26 2019 428 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 430 429 ! Equation file : chem_gasphase_mod.kpp 431 430 ! Output root filename : chem_gasphase_mod … … 484 483 ! 485 484 ! File : chem_gasphase_mod_LinearAlgebra.f90 486 ! Time : Fri Mar 8 19:01:012019487 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm485 ! Time : Fri Mar 15 16:28:26 2019 486 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 488 487 ! Equation file : chem_gasphase_mod.kpp 489 488 ! Output root filename : chem_gasphase_mod … … 511 510 ! 512 511 ! File : chem_gasphase_mod_Jacobian.f90 513 ! Time : Fri Mar 8 19:01:012019514 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm512 ! Time : Fri Mar 15 16:28:26 2019 513 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 515 514 ! Equation file : chem_gasphase_mod.kpp 516 515 ! Output root filename : chem_gasphase_mod … … 538 537 ! 539 538 ! File : chem_gasphase_mod_Function.f90 540 ! Time : Fri Mar 8 19:01:012019541 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm539 ! Time : Fri Mar 15 16:28:26 2019 540 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 542 541 ! Equation file : chem_gasphase_mod.kpp 543 542 ! Output root filename : chem_gasphase_mod … … 567 566 ! 568 567 ! File : chem_gasphase_mod_Rates.f90 569 ! Time : Fri Mar 8 19:01:012019570 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm568 ! Time : Fri Mar 15 16:28:26 2019 569 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 571 570 ! Equation file : chem_gasphase_mod.kpp 572 571 ! Output root filename : chem_gasphase_mod … … 593 592 ! 594 593 ! File : chem_gasphase_mod_Util.f90 595 ! Time : Fri Mar 8 19:01:012019596 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm594 ! Time : Fri Mar 15 16:28:26 2019 595 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 597 596 ! Equation file : chem_gasphase_mod.kpp 598 597 ! Output root filename : chem_gasphase_mod … … 709 708 710 709 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 711 716 CONTAINS 712 717 … … 720 725 k = is 721 726 cfactor = 1.000000e+00_dp 727 ! 728 ! Following line is just to avoid compiler message about unused variables 729 IF ( lu_crow(1) == 1 .OR. lu_icol(1) == 1 .OR. lu_irow(1) == 1 ) CONTINUE 730 ! 722 731 723 732 x = (0.) * cfactor … … 805 814 806 815 816 ! Following line is just to avoid compiler message about unused variables 817 IF ( f(nfix) > 0.0_dp ) CONTINUE 818 ! 807 819 ! Computation of equation rates 808 820 a(1) = rct(1) * v(10) … … 874 886 ! B - Temporary array 875 887 REAL(kind=dp):: b(17) 888 ! 889 ! Following line is just to avoid compiler message about unused variables 890 IF ( f(nfix) > 0.0_dp ) CONTINUE 876 891 877 892 ! B(1) = dA(1)/dV(10) … … 1112 1127 REAL(kind=dp) :: x(n), alpha 1113 1128 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 1131 IF ( incx == 0 ) CONTINUE 1114 1132 1115 1133 IF (alpha .eq. one)RETURN … … 1175 1193 REAL(kind=dp), PARAMETER :: zero = 0.0_dp 1176 1194 1195 ! 1196 ! Following line is just to avoid compiler message about unused variables 1197 IF ( incx == 0 .OR. incy == 0 ) CONTINUE 1177 1198 IF (alpha .eq. zero)RETURN 1178 1199 IF (n .le. 0)RETURN … … 1907 1928 !~~~> inout variables 1908 1929 REAL(kind=dp), INTENT(INOUT):: b(n) 1930 ! 1931 ! Following line is just to avoid compiler message about unused variables 1932 IF ( pivot(1) == 0 ) CONTINUE 1909 1933 1910 1934 #ifdef full_algebra … … 2497 2521 IF (PRESENT (rcntrl_i)) rcntrl = rcntrl_i 2498 2522 2523 var => c(1:nvar) 2524 2499 2525 vl_glo = size(tempi, 1) 2500 2526 -
palm/trunk/UTIL/chemistry/gasphase_preproc/mechanisms/def_salsagas/chem_gasphase_mod.f90
r3789 r3799 98 98 99 99 LOGICAL :: data_loaded = .FALSE. 100 REAL(dp), POINTER, DIMENSION(:), CONTIGUOUS :: var 100 101 ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 101 102 ! … … 113 114 ! 114 115 ! File : chem_gasphase_mod_Parameters.f90 115 ! Time : Fri Mar 8 19:01:012019116 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm116 ! Time : Fri Mar 15 16:28:25 2019 117 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 117 118 ! Equation file : chem_gasphase_mod.kpp 118 119 ! Output root filename : chem_gasphase_mod … … 191 192 ! 192 193 ! File : chem_gasphase_mod_Global.f90 193 ! Time : Fri Mar 8 19:01:012019194 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm194 ! Time : Fri Mar 15 16:28:25 2019 195 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 195 196 ! Equation file : chem_gasphase_mod.kpp 196 197 ! Output root filename : chem_gasphase_mod … … 206 207 207 208 ! C - Concentration of all species 208 REAL(kind=dp) :: c(nspec)209 REAL(kind=dp), TARGET :: c(nspec) 209 210 ! VAR - Concentrations of variable species (global) 210 REAL(kind=dp):: var(nvar) 211 ! REAL(kind=dp):: var(nvar) var is now POINTER 211 212 ! FIX - Concentrations of fixed species (global) 212 213 REAL(kind=dp):: fix(nfix) 213 214 ! VAR,FIX are chunks of array C 214 EQUIVALENCE( c(1), var(1))215 215 ! RCONST - Rate constants (global) 216 216 REAL(kind=dp):: rconst(nreact) … … 259 259 ! 260 260 ! File : chem_gasphase_mod_JacobianSP.f90 261 ! Time : Fri Mar 8 19:01:012019262 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm261 ! Time : Fri Mar 15 16:28:25 2019 262 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 263 263 ! Equation file : chem_gasphase_mod.kpp 264 264 ! Output root filename : chem_gasphase_mod … … 303 303 ! 304 304 ! File : chem_gasphase_mod_Monitor.f90 305 ! Time : Fri Mar 8 19:01:012019306 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm305 ! Time : Fri Mar 15 16:28:25 2019 306 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 307 307 ! Equation file : chem_gasphase_mod.kpp 308 308 ! Output root filename : chem_gasphase_mod … … 367 367 ! 368 368 ! File : chem_gasphase_mod_Initialize.f90 369 ! Time : Fri Mar 8 19:01:012019370 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm369 ! Time : Fri Mar 15 16:28:25 2019 370 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 371 371 ! Equation file : chem_gasphase_mod.kpp 372 372 ! Output root filename : chem_gasphase_mod … … 393 393 ! 394 394 ! File : chem_gasphase_mod_Integrator.f90 395 ! Time : Fri Mar 8 19:01:012019396 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm395 ! Time : Fri Mar 15 16:28:25 2019 396 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 397 397 ! Equation file : chem_gasphase_mod.kpp 398 398 ! Output root filename : chem_gasphase_mod … … 451 451 ! 452 452 ! File : chem_gasphase_mod_LinearAlgebra.f90 453 ! Time : Fri Mar 8 19:01:012019454 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm453 ! Time : Fri Mar 15 16:28:25 2019 454 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 455 455 ! Equation file : chem_gasphase_mod.kpp 456 456 ! Output root filename : chem_gasphase_mod … … 478 478 ! 479 479 ! File : chem_gasphase_mod_Jacobian.f90 480 ! Time : Fri Mar 8 19:01:012019481 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm480 ! Time : Fri Mar 15 16:28:25 2019 481 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 482 482 ! Equation file : chem_gasphase_mod.kpp 483 483 ! Output root filename : chem_gasphase_mod … … 505 505 ! 506 506 ! File : chem_gasphase_mod_Function.f90 507 ! Time : Fri Mar 8 19:01:012019508 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm507 ! Time : Fri Mar 15 16:28:25 2019 508 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 509 509 ! Equation file : chem_gasphase_mod.kpp 510 510 ! Output root filename : chem_gasphase_mod … … 534 534 ! 535 535 ! File : chem_gasphase_mod_Rates.f90 536 ! Time : Fri Mar 8 19:01:012019537 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm536 ! Time : Fri Mar 15 16:28:25 2019 537 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 538 538 ! Equation file : chem_gasphase_mod.kpp 539 539 ! Output root filename : chem_gasphase_mod … … 560 560 ! 561 561 ! File : chem_gasphase_mod_Util.f90 562 ! Time : Fri Mar 8 19:01:012019563 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm562 ! Time : Fri Mar 15 16:28:25 2019 563 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 564 564 ! Equation file : chem_gasphase_mod.kpp 565 565 ! Output root filename : chem_gasphase_mod … … 676 676 677 677 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 678 684 CONTAINS 679 685 … … 687 693 k = is 688 694 cfactor = 1.000000e+00_dp 695 ! 696 ! Following line is just to avoid compiler message about unused variables 697 IF ( lu_crow(1) == 1 .OR. lu_icol(1) == 1 .OR. lu_irow(1) == 1 ) CONTINUE 698 ! 689 699 690 700 x = (0.) * cfactor … … 772 782 773 783 784 ! Following line is just to avoid compiler message about unused variables 785 IF ( f(nfix) > 0.0_dp ) CONTINUE 786 ! 774 787 ! Computation of equation rates 775 788 … … 813 826 ! B - Temporary array 814 827 REAL(kind=dp):: b(5) 828 ! 829 ! Following line is just to avoid compiler message about unused variables 830 IF ( f(nfix) > 0.0_dp ) CONTINUE 815 831 816 832 ! B(1) = dA(1)/dV(2) … … 951 967 REAL(kind=dp) :: x(n), alpha 952 968 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 971 IF ( incx == 0 ) CONTINUE 953 972 954 973 IF (alpha .eq. one)RETURN … … 1014 1033 REAL(kind=dp), PARAMETER :: zero = 0.0_dp 1015 1034 1035 ! 1036 ! Following line is just to avoid compiler message about unused variables 1037 IF ( incx == 0 .OR. incy == 0 ) CONTINUE 1016 1038 IF (alpha .eq. zero)RETURN 1017 1039 IF (n .le. 0)RETURN … … 1746 1768 !~~~> inout variables 1747 1769 REAL(kind=dp), INTENT(INOUT):: b(n) 1770 ! 1771 ! Following line is just to avoid compiler message about unused variables 1772 IF ( pivot(1) == 0 ) CONTINUE 1748 1773 1749 1774 #ifdef full_algebra … … 2299 2324 IF (PRESENT (rcntrl_i)) rcntrl = rcntrl_i 2300 2325 2326 var => c(1:nvar) 2327 2301 2328 vl_glo = size(tempi, 1) 2302 2329 -
palm/trunk/UTIL/chemistry/gasphase_preproc/mechanisms/def_simple/chem_gasphase_mod.f90
r3789 r3799 98 98 99 99 LOGICAL :: data_loaded = .FALSE. 100 REAL(dp), POINTER, DIMENSION(:), CONTIGUOUS :: var 100 101 ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 101 102 ! … … 113 114 ! 114 115 ! File : chem_gasphase_mod_Parameters.f90 115 ! Time : Fri Mar 8 19:01:022019116 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm116 ! Time : Fri Mar 15 16:28:27 2019 117 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 117 118 ! Equation file : chem_gasphase_mod.kpp 118 119 ! Output root filename : chem_gasphase_mod … … 197 198 ! 198 199 ! File : chem_gasphase_mod_Global.f90 199 ! Time : Fri Mar 8 19:01:022019200 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm200 ! Time : Fri Mar 15 16:28:27 2019 201 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 201 202 ! Equation file : chem_gasphase_mod.kpp 202 203 ! Output root filename : chem_gasphase_mod … … 212 213 213 214 ! C - Concentration of all species 214 REAL(kind=dp) :: c(nspec)215 REAL(kind=dp), TARGET :: c(nspec) 215 216 ! VAR - Concentrations of variable species (global) 216 REAL(kind=dp):: var(nvar) 217 ! REAL(kind=dp):: var(nvar) var is now POINTER 217 218 ! FIX - Concentrations of fixed species (global) 218 219 REAL(kind=dp):: fix(nfix) 219 220 ! VAR,FIX are chunks of array C 220 EQUIVALENCE( c(1), var(1))221 EQUIVALENCE( c(10), fix(1))222 221 ! RCONST - Rate constants (global) 223 222 REAL(kind=dp):: rconst(nreact) … … 264 263 ! 265 264 ! File : chem_gasphase_mod_JacobianSP.f90 266 ! Time : Fri Mar 8 19:01:022019267 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm265 ! Time : Fri Mar 15 16:28:27 2019 266 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 268 267 ! Equation file : chem_gasphase_mod.kpp 269 268 ! Output root filename : chem_gasphase_mod … … 314 313 ! 315 314 ! File : chem_gasphase_mod_Monitor.f90 316 ! Time : Fri Mar 8 19:01:022019317 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm315 ! Time : Fri Mar 15 16:28:27 2019 316 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 318 317 ! Equation file : chem_gasphase_mod.kpp 319 318 ! Output root filename : chem_gasphase_mod … … 383 382 ! 384 383 ! File : chem_gasphase_mod_Initialize.f90 385 ! Time : Fri Mar 8 19:01:022019386 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm384 ! Time : Fri Mar 15 16:28:27 2019 385 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 387 386 ! Equation file : chem_gasphase_mod.kpp 388 387 ! Output root filename : chem_gasphase_mod … … 409 408 ! 410 409 ! File : chem_gasphase_mod_Integrator.f90 411 ! Time : Fri Mar 8 19:01:022019412 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm410 ! Time : Fri Mar 15 16:28:27 2019 411 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 413 412 ! Equation file : chem_gasphase_mod.kpp 414 413 ! Output root filename : chem_gasphase_mod … … 467 466 ! 468 467 ! File : chem_gasphase_mod_LinearAlgebra.f90 469 ! Time : Fri Mar 8 19:01:022019470 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm468 ! Time : Fri Mar 15 16:28:27 2019 469 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 471 470 ! Equation file : chem_gasphase_mod.kpp 472 471 ! Output root filename : chem_gasphase_mod … … 494 493 ! 495 494 ! File : chem_gasphase_mod_Jacobian.f90 496 ! Time : Fri Mar 8 19:01:022019497 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm495 ! Time : Fri Mar 15 16:28:27 2019 496 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 498 497 ! Equation file : chem_gasphase_mod.kpp 499 498 ! Output root filename : chem_gasphase_mod … … 521 520 ! 522 521 ! File : chem_gasphase_mod_Function.f90 523 ! Time : Fri Mar 8 19:01:022019524 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm522 ! Time : Fri Mar 15 16:28:27 2019 523 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 525 524 ! Equation file : chem_gasphase_mod.kpp 526 525 ! Output root filename : chem_gasphase_mod … … 550 549 ! 551 550 ! File : chem_gasphase_mod_Rates.f90 552 ! Time : Fri Mar 8 19:01:022019553 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm551 ! Time : Fri Mar 15 16:28:27 2019 552 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 554 553 ! Equation file : chem_gasphase_mod.kpp 555 554 ! Output root filename : chem_gasphase_mod … … 576 575 ! 577 576 ! File : chem_gasphase_mod_Util.f90 578 ! Time : Fri Mar 8 19:01:022019579 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm577 ! Time : Fri Mar 15 16:28:27 2019 578 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 580 579 ! Equation file : chem_gasphase_mod.kpp 581 580 ! Output root filename : chem_gasphase_mod … … 692 691 693 692 693 ! openmp directives generated by kp4 694 695 !$OMP THREADPRIVATE (vl, vl_glo, is, ie, data_loaded) 696 !$OMP THREADPRIVATE (c, var, fix, rconst, time, temp, stepmin, cfactor) 697 !$OMP THREADPRIVATE (qvap, fakt, cs_mech, a, icntrl, rcntrl) 698 694 699 CONTAINS 695 700 … … 703 708 k = is 704 709 cfactor = 1.000000e+00_dp 710 ! 711 ! Following line is just to avoid compiler message about unused variables 712 IF ( lu_crow(1) == 1 .OR. lu_icol(1) == 1 .OR. lu_irow(1) == 1 ) CONTINUE 713 ! 705 714 706 715 x = (0.) * cfactor … … 788 797 789 798 799 ! Following line is just to avoid compiler message about unused variables 800 IF ( f(nfix) > 0.0_dp ) CONTINUE 801 ! 790 802 ! Computation of equation rates 791 803 a(1) = rct(1) * v(7) … … 849 861 ! B - Temporary array 850 862 REAL(kind=dp):: b(13) 863 ! 864 ! Following line is just to avoid compiler message about unused variables 865 IF ( f(nfix) > 0.0_dp ) CONTINUE 851 866 852 867 ! B(1) = dA(1)/dV(7) … … 1067 1082 REAL(kind=dp) :: x(n), alpha 1068 1083 REAL(kind=dp), PARAMETER :: zero=0.0_dp, one=1.0_dp 1084 ! 1085 ! Following line is just to avoid compiler message about unused variables 1086 IF ( incx == 0 ) CONTINUE 1069 1087 1070 1088 IF (alpha .eq. one)RETURN … … 1130 1148 REAL(kind=dp), PARAMETER :: zero = 0.0_dp 1131 1149 1150 ! 1151 ! Following line is just to avoid compiler message about unused variables 1152 IF ( incx == 0 .OR. incy == 0 ) CONTINUE 1132 1153 IF (alpha .eq. zero)RETURN 1133 1154 IF (n .le. 0)RETURN … … 1862 1883 !~~~> inout variables 1863 1884 REAL(kind=dp), INTENT(INOUT):: b(n) 1885 ! 1886 ! Following line is just to avoid compiler message about unused variables 1887 IF ( pivot(1) == 0 ) CONTINUE 1864 1888 1865 1889 #ifdef full_algebra … … 2449 2473 IF (PRESENT (rcntrl_i)) rcntrl = rcntrl_i 2450 2474 2475 var => c(1:nvar) 2476 2451 2477 vl_glo = size(tempi, 1) 2452 2478 -
palm/trunk/UTIL/chemistry/gasphase_preproc/mechanisms/def_simplep/chem_gasphase_mod.f90
r3789 r3799 98 98 99 99 LOGICAL :: data_loaded = .FALSE. 100 REAL(dp), POINTER, DIMENSION(:), CONTIGUOUS :: var 100 101 ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 101 102 ! … … 113 114 ! 114 115 ! File : chem_gasphase_mod_Parameters.f90 115 ! Time : Fri Mar 8 19:01:022019116 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm116 ! Time : Fri Mar 15 16:28:28 2019 117 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 117 118 ! Equation file : chem_gasphase_mod.kpp 118 119 ! Output root filename : chem_gasphase_mod … … 198 199 ! 199 200 ! File : chem_gasphase_mod_Global.f90 200 ! Time : Fri Mar 8 19:01:022019201 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm201 ! Time : Fri Mar 15 16:28:28 2019 202 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 202 203 ! Equation file : chem_gasphase_mod.kpp 203 204 ! Output root filename : chem_gasphase_mod … … 213 214 214 215 ! C - Concentration of all species 215 REAL(kind=dp) :: c(nspec)216 REAL(kind=dp), TARGET :: c(nspec) 216 217 ! VAR - Concentrations of variable species (global) 217 REAL(kind=dp):: var(nvar) 218 ! REAL(kind=dp):: var(nvar) var is now POINTER 218 219 ! FIX - Concentrations of fixed species (global) 219 220 REAL(kind=dp):: fix(nfix) 220 221 ! VAR,FIX are chunks of array C 221 EQUIVALENCE( c(1), var(1))222 EQUIVALENCE( c(11), fix(1))223 222 ! RCONST - Rate constants (global) 224 223 REAL(kind=dp):: rconst(nreact) … … 265 264 ! 266 265 ! File : chem_gasphase_mod_JacobianSP.f90 267 ! Time : Fri Mar 8 19:01:022019268 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm266 ! Time : Fri Mar 15 16:28:28 2019 267 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 269 268 ! Equation file : chem_gasphase_mod.kpp 270 269 ! Output root filename : chem_gasphase_mod … … 315 314 ! 316 315 ! File : chem_gasphase_mod_Monitor.f90 317 ! Time : Fri Mar 8 19:01:022019318 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm316 ! Time : Fri Mar 15 16:28:28 2019 317 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 319 318 ! Equation file : chem_gasphase_mod.kpp 320 319 ! Output root filename : chem_gasphase_mod … … 385 384 ! 386 385 ! File : chem_gasphase_mod_Initialize.f90 387 ! Time : Fri Mar 8 19:01:022019388 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm386 ! Time : Fri Mar 15 16:28:28 2019 387 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 389 388 ! Equation file : chem_gasphase_mod.kpp 390 389 ! Output root filename : chem_gasphase_mod … … 411 410 ! 412 411 ! File : chem_gasphase_mod_Integrator.f90 413 ! Time : Fri Mar 8 19:01:022019414 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm412 ! Time : Fri Mar 15 16:28:28 2019 413 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 415 414 ! Equation file : chem_gasphase_mod.kpp 416 415 ! Output root filename : chem_gasphase_mod … … 469 468 ! 470 469 ! File : chem_gasphase_mod_LinearAlgebra.f90 471 ! Time : Fri Mar 8 19:01:022019472 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm470 ! Time : Fri Mar 15 16:28:28 2019 471 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 473 472 ! Equation file : chem_gasphase_mod.kpp 474 473 ! Output root filename : chem_gasphase_mod … … 496 495 ! 497 496 ! File : chem_gasphase_mod_Jacobian.f90 498 ! Time : Fri Mar 8 19:01:022019499 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm497 ! Time : Fri Mar 15 16:28:28 2019 498 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 500 499 ! Equation file : chem_gasphase_mod.kpp 501 500 ! Output root filename : chem_gasphase_mod … … 523 522 ! 524 523 ! File : chem_gasphase_mod_Function.f90 525 ! Time : Fri Mar 8 19:01:022019526 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm524 ! Time : Fri Mar 15 16:28:28 2019 525 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 527 526 ! Equation file : chem_gasphase_mod.kpp 528 527 ! Output root filename : chem_gasphase_mod … … 552 551 ! 553 552 ! File : chem_gasphase_mod_Rates.f90 554 ! Time : Fri Mar 8 19:01:022019555 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm553 ! Time : Fri Mar 15 16:28:28 2019 554 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 556 555 ! Equation file : chem_gasphase_mod.kpp 557 556 ! Output root filename : chem_gasphase_mod … … 578 577 ! 579 578 ! File : chem_gasphase_mod_Util.f90 580 ! Time : Fri Mar 8 19:01:022019581 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm579 ! Time : Fri Mar 15 16:28:28 2019 580 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 582 581 ! Equation file : chem_gasphase_mod.kpp 583 582 ! Output root filename : chem_gasphase_mod … … 694 693 695 694 695 ! openmp directives generated by kp4 696 697 !$OMP THREADPRIVATE (vl, vl_glo, is, ie, data_loaded) 698 !$OMP THREADPRIVATE (c, var, fix, rconst, time, temp, stepmin, cfactor) 699 !$OMP THREADPRIVATE (qvap, fakt, cs_mech, a, icntrl, rcntrl) 700 696 701 CONTAINS 697 702 … … 705 710 k = is 706 711 cfactor = 1.000000e+00_dp 712 ! 713 ! Following line is just to avoid compiler message about unused variables 714 IF ( lu_crow(1) == 1 .OR. lu_icol(1) == 1 .OR. lu_irow(1) == 1 ) CONTINUE 715 ! 707 716 708 717 x = (0.) * cfactor … … 790 799 791 800 801 ! Following line is just to avoid compiler message about unused variables 802 IF ( f(nfix) > 0.0_dp ) CONTINUE 803 ! 792 804 ! Computation of equation rates 793 805 a(1) = rct(1) * v(10) … … 852 864 ! B - Temporary array 853 865 REAL(kind=dp):: b(14) 866 ! 867 ! Following line is just to avoid compiler message about unused variables 868 IF ( f(nfix) > 0.0_dp ) CONTINUE 854 869 855 870 ! B(1) = dA(1)/dV(10) … … 1075 1090 REAL(kind=dp) :: x(n), alpha 1076 1091 REAL(kind=dp), PARAMETER :: zero=0.0_dp, one=1.0_dp 1092 ! 1093 ! Following line is just to avoid compiler message about unused variables 1094 IF ( incx == 0 ) CONTINUE 1077 1095 1078 1096 IF (alpha .eq. one)RETURN … … 1138 1156 REAL(kind=dp), PARAMETER :: zero = 0.0_dp 1139 1157 1158 ! 1159 ! Following line is just to avoid compiler message about unused variables 1160 IF ( incx == 0 .OR. incy == 0 ) CONTINUE 1140 1161 IF (alpha .eq. zero)RETURN 1141 1162 IF (n .le. 0)RETURN … … 1870 1891 !~~~> inout variables 1871 1892 REAL(kind=dp), INTENT(INOUT):: b(n) 1893 ! 1894 ! Following line is just to avoid compiler message about unused variables 1895 IF ( pivot(1) == 0 ) CONTINUE 1872 1896 1873 1897 #ifdef full_algebra … … 2455 2479 IF (PRESENT (rcntrl_i)) rcntrl = rcntrl_i 2456 2480 2481 var => c(1:nvar) 2482 2457 2483 vl_glo = size(tempi, 1) 2458 2484 -
palm/trunk/UTIL/chemistry/gasphase_preproc/mechanisms/def_smog/chem_gasphase_mod.f90
r3789 r3799 98 98 99 99 LOGICAL :: data_loaded = .FALSE. 100 REAL(dp), POINTER, DIMENSION(:), CONTIGUOUS :: var 100 101 ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 101 102 ! … … 113 114 ! 114 115 ! File : chem_gasphase_mod_Parameters.f90 115 ! Time : Fri Mar 8 19:01:032019116 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm116 ! Time : Fri Mar 15 16:28:28 2019 117 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 117 118 ! Equation file : chem_gasphase_mod.kpp 118 119 ! Output root filename : chem_gasphase_mod … … 205 206 ! 206 207 ! File : chem_gasphase_mod_Global.f90 207 ! Time : Fri Mar 8 19:01:032019208 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm208 ! Time : Fri Mar 15 16:28:28 2019 209 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 209 210 ! Equation file : chem_gasphase_mod.kpp 210 211 ! Output root filename : chem_gasphase_mod … … 220 221 221 222 ! C - Concentration of all species 222 REAL(kind=dp) :: c(nspec)223 REAL(kind=dp), TARGET :: c(nspec) 223 224 ! VAR - Concentrations of variable species (global) 224 REAL(kind=dp):: var(nvar) 225 ! REAL(kind=dp):: var(nvar) var is now POINTER 225 226 ! FIX - Concentrations of fixed species (global) 226 227 REAL(kind=dp):: fix(nfix) 227 228 ! VAR,FIX are chunks of array C 228 EQUIVALENCE( c(1), var(1))229 EQUIVALENCE( c(14), fix(1))230 229 ! RCONST - Rate constants (global) 231 230 REAL(kind=dp):: rconst(nreact) … … 272 271 ! 273 272 ! File : chem_gasphase_mod_JacobianSP.f90 274 ! Time : Fri Mar 8 19:01:032019275 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm273 ! Time : Fri Mar 15 16:28:28 2019 274 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 276 275 ! Equation file : chem_gasphase_mod.kpp 277 276 ! Output root filename : chem_gasphase_mod … … 328 327 ! 329 328 ! File : chem_gasphase_mod_Monitor.f90 330 ! Time : Fri Mar 8 19:01:032019331 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm329 ! Time : Fri Mar 15 16:28:28 2019 330 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 332 331 ! Equation file : chem_gasphase_mod.kpp 333 332 ! Output root filename : chem_gasphase_mod … … 404 403 ! 405 404 ! File : chem_gasphase_mod_Initialize.f90 406 ! Time : Fri Mar 8 19:01:032019407 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm405 ! Time : Fri Mar 15 16:28:28 2019 406 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 408 407 ! Equation file : chem_gasphase_mod.kpp 409 408 ! Output root filename : chem_gasphase_mod … … 430 429 ! 431 430 ! File : chem_gasphase_mod_Integrator.f90 432 ! Time : Fri Mar 8 19:01:032019433 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm431 ! Time : Fri Mar 15 16:28:28 2019 432 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 434 433 ! Equation file : chem_gasphase_mod.kpp 435 434 ! Output root filename : chem_gasphase_mod … … 488 487 ! 489 488 ! File : chem_gasphase_mod_LinearAlgebra.f90 490 ! Time : Fri Mar 8 19:01:032019491 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm489 ! Time : Fri Mar 15 16:28:28 2019 490 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 492 491 ! Equation file : chem_gasphase_mod.kpp 493 492 ! Output root filename : chem_gasphase_mod … … 515 514 ! 516 515 ! File : chem_gasphase_mod_Jacobian.f90 517 ! Time : Fri Mar 8 19:01:032019518 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm516 ! Time : Fri Mar 15 16:28:28 2019 517 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 519 518 ! Equation file : chem_gasphase_mod.kpp 520 519 ! Output root filename : chem_gasphase_mod … … 542 541 ! 543 542 ! File : chem_gasphase_mod_Function.f90 544 ! Time : Fri Mar 8 19:01:032019545 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm543 ! Time : Fri Mar 15 16:28:28 2019 544 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 546 545 ! Equation file : chem_gasphase_mod.kpp 547 546 ! Output root filename : chem_gasphase_mod … … 571 570 ! 572 571 ! File : chem_gasphase_mod_Rates.f90 573 ! Time : Fri Mar 8 19:01:032019574 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm572 ! Time : Fri Mar 15 16:28:28 2019 573 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 575 574 ! Equation file : chem_gasphase_mod.kpp 576 575 ! Output root filename : chem_gasphase_mod … … 597 596 ! 598 597 ! File : chem_gasphase_mod_Util.f90 599 ! Time : Fri Mar 8 19:01:032019600 ! Working directory : /home/forkel-r/palmstuff/work/trunk201903 08/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm598 ! Time : Fri Mar 15 16:28:28 2019 599 ! Working directory : /home/forkel-r/palmstuff/work/trunk20190315/UTIL/chemistry/gasphase_preproc/tmp_kpp4palm 601 600 ! Equation file : chem_gasphase_mod.kpp 602 601 ! Output root filename : chem_gasphase_mod … … 713 712 714 713 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 715 720 CONTAINS 716 721 … … 724 729 k = is 725 730 cfactor = 1.000000e+00_dp 731 ! 732 ! Following line is just to avoid compiler message about unused variables 733 IF ( lu_crow(1) == 1 .OR. lu_icol(1) == 1 .OR. lu_irow(1) == 1 ) CONTINUE 734 ! 726 735 727 736 x = (0.) * cfactor … … 813 822 814 823 824 ! Following line is just to avoid compiler message about unused variables 825 IF ( f(nfix) > 0.0_dp ) CONTINUE 826 ! 815 827 ! Computation of equation rates 816 828 a(1) = rct(1) * v(13) … … 890 902 ! B - Temporary array 891 903 REAL(kind=dp):: b(21) 904 ! 905 ! Following line is just to avoid compiler message about unused variables 906 IF ( f(nfix) > 0.0_dp ) CONTINUE 892 907 893 908 ! B(1) = dA(1)/dV(13) … … 1177 1192 REAL(kind=dp) :: x(n), alpha 1178 1193 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 1196 IF ( incx == 0 ) CONTINUE 1179 1197 1180 1198 IF (alpha .eq. one)RETURN … … 1240 1258 REAL(kind=dp), PARAMETER :: zero = 0.0_dp 1241 1259 1260 ! 1261 ! Following line is just to avoid compiler message about unused variables 1262 IF ( incx == 0 .OR. incy == 0 ) CONTINUE 1242 1263 IF (alpha .eq. zero)RETURN 1243 1264 IF (n .le. 0)RETURN … … 1972 1993 !~~~> inout variables 1973 1994 REAL(kind=dp), INTENT(INOUT):: b(n) 1995 ! 1996 ! Following line is just to avoid compiler message about unused variables 1997 IF ( pivot(1) == 0 ) CONTINUE 1974 1998 1975 1999 #ifdef full_algebra … … 2583 2607 IF (PRESENT (rcntrl_i)) rcntrl = rcntrl_i 2584 2608 2609 var => c(1:nvar) 2610 2585 2611 vl_glo = size(tempi, 1) 2586 2612
Note: See TracChangeset
for help on using the changeset viewer.