only deal with a bunch of points

This commit is contained in:
Stephen McQuay 2011-05-18 14:30:40 -06:00
parent 8a74f26619
commit aa7935a7a1

View File

@ -43,7 +43,7 @@ if __name__ == '__main__':
extras = [4,6,8,12, 16,20,32,48, 64,96,128,192, 256] extras = [4,6,8,12, 16,20,32,48, 64,96,128,192, 256]
count = len(orders) * len(extras) * sum((len(i) for i in dest_verts)) count = len(orders) * len(extras) * len(dest_verts)
results = [None] * count results = [None] * count
# results = [id, order, extra, X, qlin, err, final, exact, time] # results = [id, order, extra, X, qlin, err, final, exact, time]
@ -80,8 +80,7 @@ if __name__ == '__main__':
i = 0 i = 0
for order in orders: for order in orders:
for extra in extras: for extra in extras:
for d in dest_verts: for X in dest_verts:
for X in d:
cur_job = (i, order, extra, X) cur_job = (i, order, extra, X)
results[i] = [ order, extra, X] results[i] = [ order, extra, X]
tasksq.put(cur_job) tasksq.put(cur_job)