pub enum NormalDepthStatus {
Dry,
Solved,
BelowFloor,
NearCapacity,
AboveCapacity,
NonPositiveSlope,
}Expand description
Outcome of a Manning normal-depth query, Q = (1/n) A R^(2/3) sqrt(S), for one barrel.
The normal depth is the root on the rising limb of the conveyance K = A^(5/3) / P^(2/3).
The search domain is [D 2^-30, top], with top = 0.93818 D for a circle and D for a box.
Circle conveyance peaks at s_K D, s_K = 0.9381812, above the full-barrel conveyance,
and falls from there to the crown. Box conveyance rises up to its open-section limit at the
crown, which exceeds the full-barrel conveyance. Full-barrel flow is the caller’s branch.
Above a floor the open rise D' replaces D, depths run up from the bed, and the
conveyance is A^(5/3) / P_n^(2/3) with the wall n.
Variants§
Dry
Zero discharge on a positive slope. The depth is exactly [0, 0].
Solved
Certified root inside the search domain.
BelowFloor
The root lies at or below the floor D 2^-30. The enclosure starts at 0.
NearCapacity
The target lies near the top of the rising limb. A rising-limb root, when one exists,
lies in the enclosure. The enclosure ends at s_K D rounded up for a circle or an arc
barrel, with s_K the upper end of its conveyance peak enclosure, and at D for a box.
AboveCapacity
The target exceeds the peak conveyance of a circle or an arc barrel, or the box crown limit. No free-surface uniform flow exists and the row has no enclosure.
NonPositiveSlope
The slope is zero or adverse. No normal depth exists and the row has no enclosure.
Trait Implementations§
impl BarrelDepthStatus for NormalDepthStatus
Source§impl Clone for NormalDepthStatus
impl Clone for NormalDepthStatus
impl Copy for NormalDepthStatus
Source§impl Debug for NormalDepthStatus
impl Debug for NormalDepthStatus
impl Eq for NormalDepthStatus
Source§impl PartialEq for NormalDepthStatus
impl PartialEq for NormalDepthStatus
impl StructuralPartialEq for NormalDepthStatus
Auto Trait Implementations§
impl Forget for NormalDepthStatus
impl Freeze for NormalDepthStatus
impl Move for NormalDepthStatus
impl RefUnwindSafe for NormalDepthStatus
impl Send for NormalDepthStatus
impl Sync for NormalDepthStatus
impl Unpin for NormalDepthStatus
impl UnsafeUnpin for NormalDepthStatus
impl UnwindSafe for NormalDepthStatus
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
out indicating that a T is niched.