pub struct Grid2D {
pub x_min: f64,
pub x_max: f64,
pub y_min: f64,
pub y_max: f64,
pub nx: usize,
pub ny: usize,
pub dx: f64,
pub dy: f64,
}Expand description
Two-dimensional uniform grid.
Fields§
§x_min: f64X-direction range.
x_max: f64X-direction range.
y_min: f64Y-direction range.
y_max: f64Y-direction range.
nx: usizeNumber of grid points in x.
ny: usizeNumber of grid points in y.
dx: f64Spacing in x.
dy: f64Spacing in y.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Grid2D
impl RefUnwindSafe for Grid2D
impl Send for Grid2D
impl Sync for Grid2D
impl Unpin for Grid2D
impl UnsafeUnpin for Grid2D
impl UnwindSafe for Grid2D
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