Page 1 of 1
Using BC_shift on cylinder
Posted: 03 Mar 2021, 08:24
by amankumar
Dear Johannes
I was interested in to provide the different types of boundary condition in y direction for a cylinder. I want a spiral winding of chain kind of boundary condition over cylinder(may be I am after bc_shift routine but I don't know how to use it). I think usual boundary condition is just like multiple circular rings attached on cylinder. If you don't get my question let me know?
Thanks
Re: Using BC_shift on cylinder
Posted: 12 Mar 2021, 00:59
by Johannes
Indeed, as far as I understand your question, you're trying to describe what the bc_shift parameter does. This one allows for a (basically) arbitrary shift when going around the cylinder; I guess you want it to be 1 or 2 in the most cases. Have you seen this
section of the user-guide that I added a few month ago? Does that clarify it? Or what exactly is unclear?
If you want to "fix" the bc_shift parameter to just be -1, your system
might become completely translation invariant down to a single lattice unit cell (instead of just one "ring"); in this case you can even use the
tenpy.models.lattice.HelicalLattice.