tkwant.leads.GenericAbsorbingBoundary

class tkwant.leads.GenericAbsorbingBoundary(num_absorb_cells, imaginary_potential, num_buffer_cells=0, tmax=None)[source]

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

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

  • num_absorb_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.

  • tmax (float, optional) – Optional maximal time until when the boundary is valid.

Methods

Attributes

num_absorb_cells
num_buffer_cells
num_total_cells