~fluidity-core/fluidity/refactor-netcdf

« back to all changes in this revision

Viewing changes to spatialindex-1.5/regressiontest/tprtree/test2/run

  • Committer: Jon Hill
  • Date: 2013-02-16 09:01:40 UTC
  • mfrom: (3981.7.159 fluidity)
  • Revision ID: jon.hill@imperial.ac.uk-20130216090140-bplzxqzdk1eik4za
Megre from trunk, fixing several conflicts

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/bash
2
 
 
3
 
echo Generating dataset
4
 
../Generator -ds 1000 -sl 100 > mix
5
 
 
6
 
echo Creating new TPR-Tree and Querying
7
 
../TPRTreeLoad mix tree 10 > res
8
 
 
9
 
echo Running exhaustive search
10
 
../Exhaustive mix > res2
11
 
 
12
 
echo Comparing results
13
 
sort -n res > a
14
 
sort -n res2 > b
15
 
if diff a b
16
 
then
17
 
echo "Same results with exhaustive search. Everything seems fine."
18
 
echo Results: `wc -l a`
19
 
rm -rf a b res res2 tree.*
20
 
else
21
 
echo "PROBLEM! We got different results from exhaustive search!"
22
 
fi
23