pub struct Lead {
pub h00: CMat,
pub h01: CMat,
}Expand description
A semi-infinite lead: h00 is the cell Hamiltonian, h01 = ⟨n| H |n+1⟩ the coupling to
the next cell along the transport axis (towards +∞).
Fields§
§h00: CMatCell Hamiltonian ⟨n| H |n⟩.
h01: CMatCoupling ⟨n| H |n+1⟩ to the next cell towards +∞, for the left lead too (towards the
device).
Implementations§
Source§impl Lead
impl Lead
Sourcepub fn modes_at(&self, z: c64) -> Result<LeadModes, GreenError>
pub fn modes_at(&self, z: c64) -> Result<LeadModes, GreenError>
Modes of the lead at a complex energy (see LeadModes::at).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Lead
impl RefUnwindSafe for Lead
impl Send for Lead
impl Sync for Lead
impl Unpin for Lead
impl UnsafeUnpin for Lead
impl UnwindSafe for Lead
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more