pub struct BondCurrent {
pub from: Site,
pub to: Site,
pub current: f64,
}Expand description
Spectral particle current through a bond, j_{i→j}(E) = 2 Re Tr[H_ij G^<_ji(E)]: summed over
a cross-section, it equals T(E) [f_L(E) − f_R(E)].
Fields§
§from: SiteSite i, which the current is counted from.
to: SiteSite j, which the current is counted into.
current: f64j_{i→j}(E), or the current of an on-site operator; negative when the flow goes from j
to i.
Trait Implementations§
Source§impl Clone for BondCurrent
impl Clone for BondCurrent
Source§fn clone(&self) -> BondCurrent
fn clone(&self) -> BondCurrent
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 moreimpl Copy for BondCurrent
Source§impl Debug for BondCurrent
impl Debug for BondCurrent
Source§impl PartialEq for BondCurrent
impl PartialEq for BondCurrent
Source§fn eq(&self, other: &BondCurrent) -> bool
fn eq(&self, other: &BondCurrent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BondCurrent
Auto Trait Implementations§
impl Freeze for BondCurrent
impl RefUnwindSafe for BondCurrent
impl Send for BondCurrent
impl Sync for BondCurrent
impl Unpin for BondCurrent
impl UnsafeUnpin for BondCurrent
impl UnwindSafe for BondCurrent
Blanket Implementations§
impl<T> Boilerplate for T
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