pub struct Lesser {
pub energy: f64,
pub left: Injected,
pub right: Injected,
pub transmission: f64,
pub occupations: (f64, f64),
}Expand description
Lesser Green’s function blocks of a two-terminal device at one energy.
Fields§
§energy: f64Energy E of the blocks.
left: InjectedBlocks of the electrons injected by the left lead, G^r Σ^<_L G^a with Σ^<_L = i f_L Γ_L.
right: InjectedBlocks of the electrons injected by the right lead, G^r Σ^<_R G^a with Σ^<_R = i f_R Γ_R.
transmission: f64Transmission at this energy (from the same Green’s functions).
occupations: (f64, f64)Occupations (f_L, f_R) used.
Implementations§
Source§impl Lesser
impl Lesser
Sourcepub fn compute(
sys: &TwoTerminal,
energy: f64,
method: SelfEnergyMethod,
f_left: f64,
f_right: f64,
) -> Result<Self, GreenError>
pub fn compute( sys: &TwoTerminal, energy: f64, method: SelfEnergyMethod, f_left: f64, f_right: f64, ) -> Result<Self, GreenError>
Lesser blocks at energy with lead occupations f_left, f_right.
Sourcepub fn interface_current(&self, sys: &TwoTerminal, n: usize) -> f64
pub fn interface_current(&self, sys: &TwoTerminal, n: usize) -> f64
Spectral particle current from slice n to slice n+1, 2 Re Tr[V_n G^<_{n+1,n}].
Sourcepub fn occupation(&self, n: usize) -> Vec<f64>
pub fn occupation(&self, n: usize) -> Vec<f64>
Occupied spectral density Im G^<_aa / 2π of every orbital of slice n.
Sourcepub fn bond_currents(&self, sys: &TwoTerminal) -> Vec<BondCurrent>
pub fn bond_currents(&self, sys: &TwoTerminal) -> Vec<BondCurrent>
Spectral bond currents 2 Re Tr[H_ij G^<_ji] between every pair of coupled sites
(inside a slice and between neighbouring slices), for systems built from a model.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Lesser
impl RefUnwindSafe for Lesser
impl Send for Lesser
impl Sync for Lesser
impl Unpin for Lesser
impl UnsafeUnpin for Lesser
impl UnwindSafe for Lesser
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