[Swift-commit] r5635 - SwiftApps/SciColSim

wilde at ci.uchicago.edu wilde at ci.uchicago.edu
Thu Feb 16 12:41:34 CST 2012


Author: wilde
Date: 2012-02-16 12:41:34 -0600 (Thu, 16 Feb 2012)
New Revision: 5635

Added:
   SwiftApps/SciColSim/convertbest.sh
   SwiftApps/SciColSim/getallparams.sh
Log:
add util scripts

Added: SwiftApps/SciColSim/convertbest.sh
===================================================================
--- SwiftApps/SciColSim/convertbest.sh	                        (rev 0)
+++ SwiftApps/SciColSim/convertbest.sh	2012-02-16 18:41:34 UTC (rev 5635)
@@ -0,0 +1,6 @@
+#! /bin/sh
+
+for f in best*.txt; do
+  out=$(basename $f .txt).fmt
+  ../showbest.sh <$f >$out
+done


Property changes on: SwiftApps/SciColSim/convertbest.sh
___________________________________________________________________
Added: svn:executable
   + *

Added: SwiftApps/SciColSim/getallparams.sh
===================================================================
--- SwiftApps/SciColSim/getallparams.sh	                        (rev 0)
+++ SwiftApps/SciColSim/getallparams.sh	2012-02-16 18:41:34 UTC (rev 5635)
@@ -0,0 +1,10 @@
+#! /bin/sh
+
+# targetinno=${1:-58}
+
+grep 'calling evolve' swift.out | # grep ,$targetinno, | 
+  sed -e 's/^.*\[//' \
+      -e 's/\]$//' \
+      -e 's/,/ /g' \
+      -e 's/\(\......\)[0-9]* /\1 /g' |
+  awk '{print $3, $4, $5}' | uniq 


Property changes on: SwiftApps/SciColSim/getallparams.sh
___________________________________________________________________
Added: svn:executable
   + *




More information about the Swift-commit mailing list