tkwant.leads.GenericAbsorbingBoundary

class tkwant.leads.GenericAbsorbingBoundary(num_cells, imaginary_potential, num_buffer_cells=0)[source]

Make an absorbing boundary from a user provided-absorbing potential.

Parameters
  • imaginary_potential (callable) – User-provided absorbing potential.

  • num_cells (int) – The number of lead unit cells over which the absorbing potential increases.

  • num_buffer_cells (int, optional) – If provided, adds this many lead cells to the start of the boundary conditions with no absorbing potential applied.

Methods