Struct dzahui::solvers::fem::stokes_solver::dim1::StokesParams1D
source · pub struct StokesParams1D {
pub rho: f64,
pub hydrostatic_pressure: f64,
pub force_function: Box<dyn Fn(f64) -> f64>,
}
Expand description
General Information
Parameters needed for solving Stokes equation in 1d. If one of it’s properties is not set, it will default to zero. Boundary conditions accepted are only Dirichlet for now.
Parameters
rho
- Constant densitypressure
- Pressure [0] at index [1]boundary_condition_pressure
- Pressure boundary condition
Fields§
§rho: f64
§hydrostatic_pressure: f64
§force_function: Box<dyn Fn(f64) -> f64>
Trait Implementations§
source§impl Debug for StokesParams1D
impl Debug for StokesParams1D
Auto Trait Implementations§
impl !RefUnwindSafe for StokesParams1D
impl !Send for StokesParams1D
impl !Sync for StokesParams1D
impl Unpin for StokesParams1D
impl !UnwindSafe for StokesParams1D
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()
.