pub struct UniversalityClass {
pub name: String,
pub exponents: Vec<CriticalExponent>,
pub dimension: usize,
pub n_components: usize,
pub description: String,
}Expand description
A universality class defined by its critical exponents.
Fields§
§name: StringName of the universality class
exponents: Vec<CriticalExponent>Critical exponents
dimension: usizeSpatial dimension
n_components: usizeNumber of order parameter components (n)
description: StringDescription
Implementations§
Source§impl UniversalityClass
impl UniversalityClass
Sourcepub fn is_same_universality_class(&self, other: &UniversalityClass) -> bool
pub fn is_same_universality_class(&self, other: &UniversalityClass) -> bool
Check if two universality classes are the same by comparing exponents.
Trait Implementations§
Source§impl Clone for UniversalityClass
impl Clone for UniversalityClass
Source§impl Debug for UniversalityClass
impl Debug for UniversalityClass
Source§impl<'de> Deserialize<'de> for UniversalityClass
impl<'de> Deserialize<'de> for UniversalityClass
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for UniversalityClass
impl RefUnwindSafe for UniversalityClass
impl Send for UniversalityClass
impl Sync for UniversalityClass
impl Unpin for UniversalityClass
impl UnsafeUnpin for UniversalityClass
impl UnwindSafe for UniversalityClass
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