Struct sir_ddft::EquidistantGrid1D[][src]

pub struct EquidistantGrid1D {
    pub xlim: (f64, f64),
    pub n: usize,
}

Equidistant grid in 1D starting at xlim.0 and ending at xlim.1

Fields

xlim: (f64, f64)

Grid bounds

n: usize

Number of grid points

Implementations

impl EquidistantGrid1D[src]

pub fn grid(&self) -> EquidistantGrid1DIter

Notable traits for EquidistantGrid1DIter

impl Iterator for EquidistantGrid1DIter type Item = f64;
[src]

Get a grid iterator (might change to generator (or Box<dyn Iterator<...>>) in future)

pub fn delta(&self) -> f64[src]

Get gridpoint separation

Trait Implementations

impl Clone for EquidistantGrid1D[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.