only deal with a bunch of points
This commit is contained in:
parent
8a74f26619
commit
aa7935a7a1
@ -40,10 +40,10 @@ if __name__ == '__main__':
|
|||||||
dest_verts = pickle.load(open(dest_verts, 'r'))
|
dest_verts = pickle.load(open(dest_verts, 'r'))
|
||||||
|
|
||||||
orders = [2,3,4,5]
|
orders = [2,3,4,5]
|
||||||
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user