Ji-Gwang,
FTABLE requires that you provide a value for L. L1 and L2 are optional. The quantity L+L1+L2 must accurately agree with the span of z given in the file
Code: Select all
$ sddsprocess ftable.ftable -pipe=out -process=z,spread,%sSpread | sdds2stream -pipe -param=zSpread
2.299999952316284e+00
Using this, I modified your lattice file as follows
Code: Select all
RW: ftable,l=2.299999952316284e+00, input_file="ftable.ftable", simple_input=1, FACTOR = 1, N_KICKS = 4000
test: line = (RW)
This runs successfully. Note that I increased the N_KICKS value to get convergence.
You may also try the BMXYZ element, which uses a more conventional integration technique:
Code: Select all
RW: bmxyz,l=2.299999952316284e+00, filename="ftable.ftable", strength = 1, accuracy=1e-12, method = "bulirsch-stoer"
test: line = (RW)
--Michael