Changeset 3458 for palm/trunk/UTIL/chemistry/gasphase_preproc/kpp4palm/bin
- Timestamp:
- Oct 30, 2018 2:51:23 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/UTIL/chemistry/gasphase_preproc/kpp4palm/bin/kpp4palm.ksh
r3298 r3458 40 40 # ----------------- 41 41 # $Id$ 42 # forkel 30. Oktober 2018: Integrating contents of kp4_compress into chem_gasphase_mod.f90 42 43 # forkel 25. September 2018: Added cat for $MECH to pass mechanism name to kpp4palm 43 44 # ketelsen 18. September 2018: Added cat for '#INLINE F90_GLOBAL' … … 121 122 k) KEEP="YES";; # keep Working directory 122 123 123 o) OUTDIR=$OPTARG;; # Output directory of Generated Code 124 125 p) PREFIX=$OPTARG;; # Name Prefix 126 127 s) KPP_SOLVER=$OPTARG;; # Update sample f90 code in the def_MECH directory 128 129 u) UPDT="YES";; # keep Working directory 124 o) OUTDIR=$OPTARG;; # Output directory of Generated Code = 125 # SOURCE directory (do not change) 126 127 p) PREFIX=$OPTARG;; # Name Prefix (chem_gasphase_mod, do not change) 128 129 s) KPP_SOLVER=$OPTARG;; # Chosen solver (only Rosebrock solvers work for vector mode) 130 131 u) UPDT="YES";; # update mechanisms/def_$MECH/chem_gasphase_mod.f90 130 132 131 133 v) MODE="vector";; # Set to vector Mode … … 163 165 164 166 KPP_FILE_LIST="Initialize Integrator LinearAlgebra Jacobian Function Rates Util" 165 167 if [[ $MODE = "vector" ]] 168 then 169 KPP_FILE_LIST="$KPP_FILE_LIST kp4_compress_subroutines" 170 fi 166 171 167 172 KPP_SUBROUTINE_LIST="Initialize" … … 189 194 # get vector Solver 190 195 cp $BASE/templates/${KPP_SOLVER}_vec.f90 ${KPP_SOLVER}.f90 196 cp $BASE/templates/kp4_compress_header ${PREFIX}_kp4_compress_header.f90 197 cp $BASE/templates/kp4_compress_subroutines ${PREFIX}_kp4_compress_subroutines.f90 191 198 fi 192 199 … … 207 214 KPP_SUBROUTINE_LIST="$KPP_SUBROUTINE_LIST Rosenbrock FunTemplate JacTemplate" 208 215 KPP_INTERFACE_IGNORE="WAXPY" 216 209 217 else 210 218 KPP_SUBROUTINE_LIST="$KPP_SUBROUTINE_LIST FunTemplate JacTemplate" 219 KPP_SUBROUTINE_LIST="$KPP_SUBROUTINE_LIST kco_initialize kco_compress kco_finalize" 211 220 fi;; 212 221 … … 246 255 247 256 KPP_INCLUDE_LIST="Parameters Global JacobianSP Monitor" 257 if [[ $MODE = "vector" ]] 258 then 259 KPP_INCLUDE_LIST="$KPP_INCLUDE_LIST kp4_compress_header" 260 fi 248 261 249 262 #Get definition Files … … 309 322 done 310 323 311 echo start kp 4.exe with arguments324 echo start kpp4palm.exe with arguments 312 325 echo $PREFIX $MODE $VLEN $DE_INDEX $DE_INDEX_FAST 313 326
Note: See TracChangeset
for help on using the changeset viewer.