1 #!/bin/bash
 2 
 3 #     This program is free software; you can redistribute it and/or modify
 4 #     it under the terms of the GNU General Public License as published by
 5 #     the Free Software Foundation; either version 2 of the License, or
 6 #     (at your option) any later version.
 7 
 8 #     This program is distributed in the hope that it will be useful,
 9 #     but WITHOUT ANY WARRANTY; without even the implied warranty of
10 #     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 #     GNU General Public License for more details.
12 
13 #     You should have received a copy of the GNU General Public License
14 #     along with this program; if not, write to the Free Software
15 #     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16 
17 # Pull apart rosenbaum-ams-stripped into logical groups so that we
18 
19 export PATH=${PATH}:.
20 
21 
22 if [ ! -f  g1-fluidized.dat ]; then
23    splitdepth.py 19.5 rosenbaum-ams-stripped.dat g1-m.dat g2-5.dat
24    splitdepth.py 30 g2-5.dat g2-m.dat g3-5.dat
25    splitdepth.py 80 g3-5.dat g3-m.dat g4-5.dat
26    splitdepth.py 104 g4-5.dat g4-m.dat g5-m.dat
27    mv g1-m.dat g1-fluidized.dat # 19.0-12.5 m
28    mv g2-m.dat g2-undeformed.dat # 27.7-20.4m
29    mv g3-m.dat g3-sheared.dat # 85.2-78.1m
30    mv g4-m.dat g4-little-def.dat # 103.6-99.6m # same as minimally?
31    mv g5-m.dat g5-intermediate.dat # 119.7-115.5m
32    rm -f g[0-5]-[0-5].dat
33 fi


syntax highlighted by Code2HTML, v. 0.9.1