pub enum CriticalDepthStatus {
Dry,
Solved,
BelowFloor,
AtCrown,
AboveCrown,
}Expand description
Outcome of a critical-depth query, Q^2 T = g A^3, for one barrel.
The search domain is [D 2^-30, top], with top = D (1 - 2^-53) for a circle and D for
a box. A circle has one critical depth below the crown for every Q > 0. A box has one only
for Q <= sqrt(g) B D^(3/2). Above a floor the open rise D' replaces D, depths run up
from the bed, and a circle or arc barrel ends its domain at D' (1 - 2^-52).
Variants§
Dry
Zero discharge. 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.
AtCrown
The residual at the domain top contains zero. A circle root lies in the enclosure, which
ends at D. A box root lies in it when Q does not exceed the crown limit.
AboveCrown
Certified above the domain top. A circle root lies within 2^-53 D of the crown, in the
enclosure [D (1 - 2^-53), D]. Above a floor the enclosure is [D' (1 - 2^-52), D'].
A box has no free-surface critical depth and no enclosure.
Trait Implementations§
impl BarrelDepthStatus for CriticalDepthStatus
Source§impl Clone for CriticalDepthStatus
impl Clone for CriticalDepthStatus
impl Copy for CriticalDepthStatus
Source§impl Debug for CriticalDepthStatus
impl Debug for CriticalDepthStatus
impl Eq for CriticalDepthStatus
Source§impl PartialEq for CriticalDepthStatus
impl PartialEq for CriticalDepthStatus
impl StructuralPartialEq for CriticalDepthStatus
Auto Trait Implementations§
impl Forget for CriticalDepthStatus
impl Freeze for CriticalDepthStatus
impl Move for CriticalDepthStatus
impl RefUnwindSafe for CriticalDepthStatus
impl Send for CriticalDepthStatus
impl Sync for CriticalDepthStatus
impl Unpin for CriticalDepthStatus
impl UnsafeUnpin for CriticalDepthStatus
impl UnwindSafe for CriticalDepthStatus
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.