triangle_reflection_complex/parallelization/generate_commands.py

20 lines
414 B
Python
Executable File

#!/usr/bin/python
wordlength = 16
n = 101038
res = 200
radius = 1
q = [1,1,1]
denom = round(res/radius)
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))