pub struct RibbonReport {
pub prescribed: [bool; 4],
pub corner_tangent_gap: f64,
pub twist_discrepancy: f64,
pub cross_derivative_residual: f64,
pub cross_derivative_scale: f64,
}Expand description
The measured continuity of a ribbon patch. Read Self::cross_derivative_residual
before calling anything G1: it is the number that says whether the
prescribed cross-derivative field was actually met.
Fields§
§prescribed: [bool; 4]Which boundaries carried a prescribed ribbon.
corner_tangent_gap: f64Worst disagreement between a ribbon’s end vector and the tangent of the boundary it meets there.
twist_discrepancy: f64Worst disagreement between the two corner twists a pair of ribbons prescribes at the same corner. The patch carries their mean, so this is the quantity that limits exact ribbon interpolation.
cross_derivative_residual: f64Worst |dS/dn - T| measured on the built patch along every boundary
that carried a ribbon.
cross_derivative_scale: f64Worst |T| over the same samples — the scale
Self::cross_derivative_residual should be read against.
Trait Implementations§
Source§impl Clone for RibbonReport
impl Clone for RibbonReport
Auto Trait Implementations§
impl Forget for RibbonReport
impl Freeze for RibbonReport
impl Move for RibbonReport
impl RefUnwindSafe for RibbonReport
impl Send for RibbonReport
impl Sync for RibbonReport
impl Unpin for RibbonReport
impl UnsafeUnpin for RibbonReport
impl UnwindSafe for RibbonReport
Blanket Implementations§
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
Mutably borrows from an owned value. Read more