Commit 60717759 authored by Cassio Kirch's avatar Cassio Kirch

Does not depend of the source.

parent 15874cd3
......@@ -12,9 +12,9 @@ moviename=$(ls one_system*dat).avi
gpParameters="notitle w p ps 3 pt 7"
range=$(grep "\#define RANGE " define.h | awk '{print $3*0.5}')
range=$(./boids4 -p | grep "RANGE " | awk '{print $3*0.5}')
steps=$(( $(grep "\#define STEPS " define.h | awk '{print $3}') / $(grep "\#define EXIT_INTERVAL " define.h | awk '{print $3}') ))
steps=$(( $(./boids4 -p | grep "STEPS " | awk '{print $3}') / $(grep "\#define EXIT_INTERVAL " define.h | awk '{print $3}') ))
echo -e "\nsteps: $steps"
for (( i=0; i<$steps ; i++ ))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment