pub struct CriticalPhenomena {
pub exp: CriticalExponents,
pub t_c: f64,
pub xi0: f64,
pub chi0: f64,
pub m0: f64,
pub c0: f64,
}Expand description
Critical phenomena observables near a second-order phase transition.
All observables are expressed as power-law functions of the reduced temperature t = (T − T_c)/T_c and ordering field h.
Fields§
§exp: CriticalExponentsCritical exponents.
t_c: f64Critical temperature T_c.
xi0: f64Non-universal amplitude for correlation length: ξ = ξ₀ |t|^{−ν}.
chi0: f64Non-universal amplitude for susceptibility: χ = χ₀ |t|^{−γ}.
m0: f64Non-universal amplitude for order parameter: m = m₀ |t|^β.
c0: f64Non-universal amplitude for specific heat: C = A |t|^{−α}.
Implementations§
Source§impl CriticalPhenomena
impl CriticalPhenomena
Sourcepub fn new(
exp: CriticalExponents,
t_c: f64,
xi0: f64,
chi0: f64,
m0: f64,
c0: f64,
) -> Self
pub fn new( exp: CriticalExponents, t_c: f64, xi0: f64, chi0: f64, m0: f64, c0: f64, ) -> Self
Construct a CriticalPhenomena model.
Sourcepub fn reduced_temperature(&self, temp: f64) -> f64
pub fn reduced_temperature(&self, temp: f64) -> f64
Reduced temperature t = (T − T_c) / T_c.
Sourcepub fn correlation_length(&self, temp: f64) -> f64
pub fn correlation_length(&self, temp: f64) -> f64
Correlation length ξ(T) = ξ₀ |t|^{−ν} (T ≠ T_c).
Sourcepub fn susceptibility(&self, temp: f64) -> f64
pub fn susceptibility(&self, temp: f64) -> f64
Magnetic susceptibility χ(T) = χ₀ |t|^{−γ} (T > T_c).
Sourcepub fn order_parameter(&self, temp: f64) -> f64
pub fn order_parameter(&self, temp: f64) -> f64
Order parameter m(T) = m₀ (−t)^β (T < T_c).
Sourcepub fn specific_heat(&self, temp: f64) -> f64
pub fn specific_heat(&self, temp: f64) -> f64
Specific heat C(T) = c₀ |t|^{−α}.
Sourcepub fn critical_isotherm(&self, h: f64) -> f64
pub fn critical_isotherm(&self, h: f64) -> f64
Critical isotherm (T = T_c): m ∝ h^{1/δ}.
Trait Implementations§
Source§impl Clone for CriticalPhenomena
impl Clone for CriticalPhenomena
Source§fn clone(&self) -> CriticalPhenomena
fn clone(&self) -> CriticalPhenomena
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for CriticalPhenomena
impl RefUnwindSafe for CriticalPhenomena
impl Send for CriticalPhenomena
impl Sync for CriticalPhenomena
impl Unpin for CriticalPhenomena
impl UnsafeUnpin for CriticalPhenomena
impl UnwindSafe for CriticalPhenomena
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.