Struct dzahui::solvers::fem::stokes_solver::dim2::StokesParams2D
source · pub struct StokesParams2D {
pub boundary_conditions: Vec<[f64; 2]>,
pub hydrostatic_pressure: f64,
pub force_function: Box<dyn Fn([f64; 2]) -> [f64; 2]>,
pub rho: f64,
pub nu: f64,
}
Expand description
General Information
Stokes params in 2D. Equation not yet implemented
Fields
Not repetead since they’re the same as StokesParams2DBuilder
Fields§
§boundary_conditions: Vec<[f64; 2]>
§hydrostatic_pressure: f64
§force_function: Box<dyn Fn([f64; 2]) -> [f64; 2]>
§rho: f64
§nu: f64
Trait Implementations§
source§impl Debug for StokesParams2D
impl Debug for StokesParams2D
Auto Trait Implementations§
impl !RefUnwindSafe for StokesParams2D
impl !Send for StokesParams2D
impl !Sync for StokesParams2D
impl Unpin for StokesParams2D
impl !UnwindSafe for StokesParams2D
Blanket Implementations§
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.