pub struct Grid1D {
pub x_min: f64,
pub x_max: f64,
pub nx: usize,
pub dx: f64,
}Expand description
One-dimensional uniform grid.
Fields§
§x_min: f64Left boundary.
x_max: f64Right boundary.
nx: usizeNumber of grid points.
dx: f64Grid spacing (computed).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Grid1D
impl RefUnwindSafe for Grid1D
impl Send for Grid1D
impl Sync for Grid1D
impl Unpin for Grid1D
impl UnsafeUnpin for Grid1D
impl UnwindSafe for Grid1D
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