pub struct AttachedLead {
pub h00: CMat,
pub h01: CMat,
pub orbitals: Vec<usize>,
pub coupling: CMat,
}Expand description
A semi-infinite lead attached to a device.
Fields§
§h00: CMatHamiltonian of one lead cell.
h01: CMatCoupling ⟨cell n| H |cell n+1⟩ from a cell to the next one further from the device.
orbitals: Vec<usize>Device orbitals coupled to the first lead cell.
coupling: CMatCoupling from these orbitals to the first lead cell (orbitals.len() × cell orbitals).
Implementations§
Source§impl AttachedLead
impl AttachedLead
Sourcepub fn surface_green(
&self,
energy: f64,
method: SelfEnergyMethod,
) -> Result<CMat, GreenError>
pub fn surface_green( &self, energy: f64, method: SelfEnergyMethod, ) -> Result<CMat, GreenError>
Surface Green’s function of the lead (its first cell and everything beyond).
Sourcepub fn self_energy(
&self,
energy: f64,
method: SelfEnergyMethod,
) -> Result<CMat, GreenError>
pub fn self_energy( &self, energy: f64, method: SelfEnergyMethod, ) -> Result<CMat, GreenError>
Self-energy on the coupled device orbitals, Σ = V g V†.
Trait Implementations§
Source§impl Clone for AttachedLead
impl Clone for AttachedLead
Source§fn clone(&self) -> AttachedLead
fn clone(&self) -> AttachedLead
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AttachedLead
impl RefUnwindSafe for AttachedLead
impl Send for AttachedLead
impl Sync for AttachedLead
impl Unpin for AttachedLead
impl UnsafeUnpin for AttachedLead
impl UnwindSafe for AttachedLead
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