pub struct WilsonianRg {
pub d: f64,
pub epsilon: f64,
pub lambda: f64,
pub step: usize,
pub u: f64,
pub r: f64,
}Expand description
Parameters for a Wilsonian effective field theory in d dimensions.
Implements coarse-graining via momentum-shell integration and block-spin transformation, yielding flow equations for marginal and relevant couplings.
Fields§
§d: f64Spacetime dimension d.
epsilon: f64ε = 4 − d (Wilson-Fisher expansion parameter).
lambda: f64UV cutoff Λ.
step: usizeCurrent RG step number (number of coarse-graining steps performed).
u: f64Coupling u (quartic in φ⁴ theory).
r: f64Mass parameter r (quadratic coupling).
Implementations§
Source§impl WilsonianRg
impl WilsonianRg
Sourcepub fn new(d: f64, lambda: f64, u: f64, r: f64) -> Self
pub fn new(d: f64, lambda: f64, u: f64, r: f64) -> Self
Construct a Wilsonian RG for φ⁴ theory in d = 4 − ε dimensions.
Sourcepub fn step_flow(&mut self, dl: f64, n_components: f64)
pub fn step_flow(&mut self, dl: f64, n_components: f64)
Perform one infinitesimal RG step with rescaling factor b = e^{dl}.
One-loop flow equations (ε-expansion): du/dl = ε u − (n+8)/(16π²) u² dr/dl = 2 r + (n+2)/(16π²) u (n = 1 for Ising universality)
Sourcepub fn wilson_fisher_fixed_point(&self, n_components: f64) -> f64
pub fn wilson_fisher_fixed_point(&self, n_components: f64) -> f64
Wilson-Fisher fixed point u* for φ⁴ theory (n-component).
u* = (16π² ε) / (n + 8)
Sourcepub fn eta_wf(&self, n_components: f64) -> f64
pub fn eta_wf(&self, n_components: f64) -> f64
Critical exponent η at Wilson-Fisher fixed point to O(ε²).
η = (n+2) ε² / [2(n+8)²]
Sourcepub fn nu_wf(&self, n_components: f64) -> f64
pub fn nu_wf(&self, n_components: f64) -> f64
Correlation length exponent ν at Wilson-Fisher fixed point.
1/ν = 2 − (n+2)/(n+8) ε
Sourcepub fn rescale_correlation_length(&self, xi: f64, b: f64) -> f64
pub fn rescale_correlation_length(&self, xi: f64, b: f64) -> f64
Block-spin transformation: rescale correlation length by factor b.
Under coarse-graining by b, the correlation length scales as ξ → ξ/b.
Trait Implementations§
Source§impl Clone for WilsonianRg
impl Clone for WilsonianRg
Source§fn clone(&self) -> WilsonianRg
fn clone(&self) -> WilsonianRg
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 WilsonianRg
impl RefUnwindSafe for WilsonianRg
impl Send for WilsonianRg
impl Sync for WilsonianRg
impl Unpin for WilsonianRg
impl UnsafeUnpin for WilsonianRg
impl UnwindSafe for WilsonianRg
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.