triangle_reflection_complex/parallelization/generate_commands.py

20 lines
414 B
Python
Raw Normal View History

#!/usr/bin/python
wordlength = 16
n = 101038
2022-06-15 16:04:42 +00:00
res = 200
radius = 1
q = [1,1,1]
denom = round(res/radius)
2022-06-15 16:04:42 +00:00
cmd = "IDLIST=idlist_{len} ../complex_anosov summary {n} {q1} {q2} {q3} {rnum}/{rden} {inum}/{iden}"
for i in range(-res,res+1):
for j in range(0,res+1):
if i == 0 and j == 0:
continue
print(cmd.format(
len=wordlength, n=n, q1=q[0], q2=q[1], q3=q[2],
rnum=i, inum=j, rden=denom, iden=denom))