Differences From Artifact [a08246f929]:
- Executable file mttroot/mtt/bin/trans/mtt_optimise.sh — part of check-in [878c509228] at 2002-06-18 16:56:51 on branch origin/optimise-algebraic-equations — Trying to get optimisation to work with maxima. (user: geraint@users.sourceforge.net, size: 776) [annotate] [blame] [check-ins using] [more...]
To Artifact [51933f155d]:
- Executable file mttroot/mtt/bin/trans/mtt_optimise.sh — part of check-in [a5d8bcd452] at 2002-06-21 13:30:59 on branch origin/optimise-algebraic-equations — Reformat input line for rates and outputs as well as algebraic equations. (user: geraint@users.sourceforge.net, size: 879) [annotate] [blame] [check-ins using] [more...]
︙ | |||
31 32 33 34 35 36 37 38 39 40 41 42 43 44 | 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | + + | } optimise_with_maxima () { cat ${filename} |\ tr "\t\n" " " |\ sed -e 's/\ //g' |\ sed -e 's/\(MTTdX([0-9.]*,[0-9.]*)\)/\1 /' |\ sed -e 's/\(MTTy([0-9.]*,[0-9.]*)\)/\1 /' |\ sed -e 's/\(MTTYz([0-9.]*,[0-9.]*)\)/\1 /' |\ sed -e 's/[A-Za-z0-9_.:()]*(D2)\(.*\)/\1/' |\ sed -e 's/\([A-Za-z0-9_.:()]*\)(C3)/\1/g' |\ optimise_max2r.awk |\ tr "A-Z" "a-z" > ${tmp} } |
︙ |