[][src]Struct shallow_water::nhswps::State

pub struct State {
    pub spectral: Spectral,
    pub u: Array3<f64>,
    pub v: Array3<f64>,
    pub w: Array3<f64>,
    pub z: Array3<f64>,
    pub zx: Array3<f64>,
    pub zy: Array3<f64>,
    pub r: Array3<f64>,
    pub ri: Array3<f64>,
    pub aa: Array3<f64>,
    pub zeta: Array3<f64>,
    pub pn: Array3<f64>,
    pub dpn: Array3<f64>,
    pub ps: Array3<f64>,
    pub qs: Array3<f64>,
    pub ds: Array3<f64>,
    pub gs: Array3<f64>,
    pub t: f64,
    pub ngsave: usize,
    pub itime: usize,
    pub jtime: usize,
    pub ggen: bool,
}

Fields

spectral: Spectralu: Array3<f64>v: Array3<f64>w: Array3<f64>z: Array3<f64>zx: Array3<f64>zy: Array3<f64>r: Array3<f64>ri: Array3<f64>aa: Array3<f64>zeta: Array3<f64>pn: Array3<f64>dpn: Array3<f64>ps: Array3<f64>qs: Array3<f64>ds: Array3<f64>gs: Array3<f64>t: f64ngsave: usizeitime: usizejtime: usizeggen: bool

Implementations

impl State[src]

pub fn defragment(&mut self)[src]

Reinitializes all arrays so that each has contiguous memory

Trait Implementations

impl Clone for State[src]

impl Debug for State[src]

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

impl Serialize for State[src]

Auto Trait Implementations

impl RefUnwindSafe for State

impl Send for State

impl Sync for State

impl Unpin for State

impl UnwindSafe for State

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> 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> 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.