Struct cpo_analyzer::configuration::particle_record::ParticleRecord[][src]

pub struct ParticleRecord {
    pub id: usize,
    pub x: f64,
    pub y: f64,
    pub z: Option<f64>,
    pub olivine_deformation_type: Option<f64>,
    pub full_norm_square: Option<f64>,
    pub triclinic_norm_square_p1: Option<f64>,
    pub triclinic_norm_square_p2: Option<f64>,
    pub triclinic_norm_square_p3: Option<f64>,
    pub monoclinic_norm_square_p1: Option<f64>,
    pub monoclinic_norm_square_p2: Option<f64>,
    pub monoclinic_norm_square_p3: Option<f64>,
    pub orthohombic_norm_square_p1: Option<f64>,
    pub orthohombic_norm_square_p2: Option<f64>,
    pub orthohombic_norm_square_p3: Option<f64>,
    pub tetragonal_norm_square_p1: Option<f64>,
    pub tetragonal_norm_square_p2: Option<f64>,
    pub tetragonal_norm_square_p3: Option<f64>,
    pub hexagonal_norm_square_p1: Option<f64>,
    pub hexagonal_norm_square_p2: Option<f64>,
    pub hexagonal_norm_square_p3: Option<f64>,
    pub isotropic_norm_square: Option<f64>,
}

A structure to hold the particle data, including the id, position, deformation type, and optionally elasticity information.

Fields

id: usizex: f64y: f64z: Option<f64>olivine_deformation_type: Option<f64>full_norm_square: Option<f64>triclinic_norm_square_p1: Option<f64>triclinic_norm_square_p2: Option<f64>triclinic_norm_square_p3: Option<f64>monoclinic_norm_square_p1: Option<f64>monoclinic_norm_square_p2: Option<f64>monoclinic_norm_square_p3: Option<f64>orthohombic_norm_square_p1: Option<f64>orthohombic_norm_square_p2: Option<f64>orthohombic_norm_square_p3: Option<f64>tetragonal_norm_square_p1: Option<f64>tetragonal_norm_square_p2: Option<f64>tetragonal_norm_square_p3: Option<f64>hexagonal_norm_square_p1: Option<f64>hexagonal_norm_square_p2: Option<f64>hexagonal_norm_square_p3: Option<f64>isotropic_norm_square: Option<f64>

Trait Implementations

impl Debug for ParticleRecord[src]

impl<'de> Deserialize<'de> for ParticleRecord[src]

Auto Trait Implementations

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    T: Component + Float,
    D: AdaptFrom<S, Swp, Dwp, T>,
    Swp: WhitePoint,
    Dwp: WhitePoint
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> SetParameter for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.