tconv-png.sh - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
HTML git clone git://src.adamsgaard.dk/sphere
DIR Log
DIR Files
DIR Refs
DIR LICENSE
---
tconv-png.sh (317B)
---
1 #!/bin/bash
2 INTERVAL=10
3 INTERVALDIV2=`expr $INTERVAL / 2`
4 if [[ "$1" == "" ]]; then
5 echo "Usage: $0 <simulation id>"
6 exit 1
7 else
8 feh --reload $INTERVALDIV2 --auto-zoom --image-bg black --scale-down output/${1}-conv.png &
9 watch --interval $INTERVAL --no-title gnuplot -e \"sid=\'$1\'\" conv-png.gp
10 fi