Currently, implementation does not include periodic boundary conditions. As a result, current insertion on the last timeslice (T-1) is excluded since the next timeslice exceeds the temporal extent ( code block treats (T-1)+1 = T).
This fix implements the periodic boundary condition such that current insertion on the last timeslice will connect to the zeroth timeslice.
Currently, implementation does not include periodic boundary conditions. As a result, current insertion on the last timeslice (T-1) is excluded since the next timeslice exceeds the temporal extent ( code block treats (T-1)+1 = T).
This fix implements the periodic boundary condition such that current insertion on the last timeslice will connect to the zeroth timeslice.
See this for more information.