Struct sir_ddft::SIRDDFTParameters[][src]

pub struct SIRDDFTParameters {
    pub mobility_S: f64,
    pub mobility_I: f64,
    pub mobility_R: f64,
    pub social_distancing_amplitude: f64,
    pub social_distancing_range: f64,
    pub self_isolation_amplitude: f64,
    pub self_isolation_range: f64,
}

Additional parameters for the SIR DDFT model

Fields

mobility_S: f64

Mobility parameter for S field

mobility_I: f64

Mobility parameter for I field

mobility_R: f64

Mobility parameter for R field

social_distancing_amplitude: f64

Amplitude of Gaussian interaction kernel for social distancing

social_distancing_range: f64

Range of Gaussian interaction kernel for social distancing

self_isolation_amplitude: f64

Amplitude of Gaussian interaction kernel for self isolation

self_isolation_range: f64

Amplitude of Gaussian interaction kernel for self isolation

Implementations

impl SIRDDFTParameters[src]

pub fn new(
    mobility_S: f64,
    mobility_I: f64,
    mobility_R: f64,
    social_distancing_amplitude: f64,
    social_distancing_range: f64,
    self_isolation_amplitude: f64,
    self_isolation_range: f64
) -> Self
[src]

Trait Implementations

impl Clone for SIRDDFTParameters[src]

Auto Trait Implementations

Blanket Implementations

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> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.