pub struct Disorder {
pub mean_field: CMat,
pub vertices: Vec<(f64, CMat)>,
}Expand description
Disorder seen by the SCBA: the mean field ⟨V⟩ and the vertices (w_t, V_t) of the second
cumulant (see the crate documentation).
Fields§
§mean_field: CMatMean field ⟨V⟩ on the orbitals of a unit cell.
vertices: Vec<(f64, CMat)>Vertices (w_t, V_t): the second cumulant is ⟨V⊗V⟩ − ⟨V⟩⊗⟨V⟩ = Σ_t w_t V_t ⊗ V_t.
Implementations§
Source§impl Disorder
impl Disorder
Sourcepub fn anderson(w: f64, orbitals: usize) -> Self
pub fn anderson(w: f64, orbitals: usize) -> Self
Anderson disorder: on-site energies uniform in [−w/2, w/2] on every site, the same on
all orbitals of a site.
Sourcepub fn magnetic(conc: f64, j: f64, moments: Moments, s: &[CMat; 3]) -> Self
pub fn magnetic(conc: f64, j: f64, moments: Moments, s: &[CMat; 3]) -> Self
Classical magnetic impurities on a fraction conc of the sites, of exchange j, with unit
moments drawn from moments (as caroli_disorder::MagneticImpurities) and coupled
through the spin matrices s = (S_x, S_y, S_z) of the model (e.g.
caroli_model::presets::bhz_spin).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Disorder
impl RefUnwindSafe for Disorder
impl Send for Disorder
impl Sync for Disorder
impl Unpin for Disorder
impl UnsafeUnpin for Disorder
impl UnwindSafe for Disorder
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