hydr-structures 0.2.0

Hydraulic structures for the hydr simulation crates
Documentation
//! Certified culvert barrel constants as `(name, lower bits, upper bits)` rows.

// Generated by `transcribe.py` in `resource/evidence/culvert-barrel-sections/` from its
// frozen `certificate.json`. Regenerate instead of editing.

/// SHA256 of the frozen `certificate.json`.
pub(super) const CERTIFICATE_SHA256: &str =
    "db5eff303d3afcf03abe0b81cfcc34ee20dd72e042b5282aadcfafac029a2b15";

pub(super) const ROWS: &[(&str, u64, u64)] = &[
    ("pi", 0x400921fb54442d18, 0x400921fb54442d19),
    ("asin[0]", 0x3ff0000000000000, 0x3ff0000000000000),
    ("asin[1]", 0x3fc5555555555555, 0x3fc5555555555556),
    ("asin[2]", 0x3fb3333333333333, 0x3fb3333333333334),
    ("asin[3]", 0x3fa6db6db6db6db6, 0x3fa6db6db6db6db7),
    ("asin[4]", 0x3f9f1c71c71c71c7, 0x3f9f1c71c71c71c8),
    ("asin[5]", 0x3f96e8ba2e8ba2e8, 0x3f96e8ba2e8ba2e9),
    ("asin[6]", 0x3f91c4ec4ec4ec4e, 0x3f91c4ec4ec4ec4f),
    ("asin[7]", 0x3f8c999999999999, 0x3f8c99999999999a),
    ("asin[8]", 0x3f87a87878787878, 0x3f87a87878787879),
    ("asin[9]", 0x3f83fde50d79435e, 0x3f83fde50d79435f),
    ("asin[10]", 0x3f812ef3cf3cf3cf, 0x3f812ef3cf3cf3d0),
    ("asin[11]", 0x3f7df3bd37a6f4de, 0x3f7df3bd37a6f4df),
    ("asin[12]", 0x3f7a6863d70a3d70, 0x3f7a6863d70a3d71),
    ("asin[13]", 0x3f7782dda12f684b, 0x3f7782dda12f684c),
    ("asin[14]", 0x3f751ba308d3dcb0, 0x3f751ba308d3dcb1),
    ("area[0]", 0x3ff5555555555555, 0x3ff5555555555556),
    ("area[1]", 0xbfd999999999999a, 0xbfd9999999999999),
    ("area[2]", 0xbfb2492492492493, 0xbfb2492492492492),
    ("area[3]", 0xbf9c71c71c71c71d, 0xbf9c71c71c71c71c),
    ("area[4]", 0xbf8d1745d1745d18, 0xbf8d1745d1745d17),
    ("area[5]", 0xbf813b13b13b13b2, 0xbf813b13b13b13b1),
    ("area[6]", 0xbf76666666666667, 0xbf76666666666666),
    ("area[7]", 0xbf6f0f0f0f0f0f10, 0xbf6f0f0f0f0f0f0f),
    ("area[8]", 0xbf669435e50d7944, 0xbf669435e50d7943),
    ("area[9]", 0xbf61061861861862, 0xbf61061861861861),
    ("area[10]", 0xbf5a6c8590b21643, 0xbf5a6c8590b21642),
    ("area[11]", 0xbf54feb851eb851f, 0xbf54feb851eb851e),
    ("area[12]", 0xbf510284bda12f69, 0xbf510284bda12f68),
    ("area[13]", 0xbf4c04d3dcb08d3e, 0xbf4c04d3dcb08d3d),
    ("area[14]", 0xbf47672108421085, 0xbf47672108421084),
    ("moment[0]", 0x3fe1111111111111, 0x3fe1111111111112),
    ("moment[1]", 0xbfbd41d41d41d41e, 0xbfbd41d41d41d41d),
    ("moment[2]", 0xbf90410410410411, 0xbf90410410410410),
    ("moment[3]", 0xbf74afd6a052bf5b, 0xbf74afd6a052bf5a),
    ("moment[4]", 0xbf61e6efe35b4cfb, 0xbf61e6efe35b4cfa),
    ("moment[5]", 0xbf52612612612613, 0xbf52612612612612),
    ("moment[6]", 0xbf45151515151516, 0xbf45151515151515),
    ("moment[7]", 0xbf3a27a0e442936b, 0xbf3a27a0e442936a),
    ("moment[8]", 0xbf3133f84cfe1340, 0xbf3133f84cfe133f),
    ("moment[9]", 0xbf27af6fd5992d0e, 0xbf27af6fd5992d0d),
    ("moment[10]", 0xbf20e94b3de29d9c, 0xbf20e94b3de29d9b),
    ("moment[11]", 0xbf18e209dc598154, 0xbf18e209dc598153),
    ("moment[12]", 0xbf12c4fc6750c18e, 0xbf12c4fc6750c18d),
    ("moment[13]", 0xbf0cec3588f84fbc, 0xbf0cec3588f84fbb),
    ("moment[14]", 0xbf06b19465194652, 0xbf06b19465194651),
    ("critical_slope", 0x401599999999999a, 0x401599999999999a),
    ("box_critical_slope", 0x4008000000000000, 0x4008000000000000),
    ("rising_limb_top", 0x3fee059210385c68, 0x3fee059210385c68),
    ("normal_slope", 0x3f0c6a99d1cdbd8e, 0x3f0c6a99d1cdbd8e),
    ("box_normal_slope", 0x4008000000000000, 0x4008000000000000),
    ("critical_domain", 0x3e10000000000000, 0x3fefffffffffffff),
    ("conveyance_peak", 0x3fee05949d2433b9, 0x3fee05949d2433ba),
    (
        "log_peak_conveyance",
        0xbff17c0a73c51e10,
        0xbff17c0a73c51e0d,
    ),
];