pub struct AmiOverlap {
pub source: usize,
pub overlap_area: f64,
pub weight: f64,
}Expand description
One overlap between a target face and a source face on an AMI seam.
Produced by overlap_weights_1d; purely geometric (carries the local
source-face index within the source patch, not a global face or cell index —
the mesh constructor attaches those when it builds an AmiWeight).
Fields§
§source: usizeLocal index of the overlapping source face within the source patch.
overlap_area: f64Geometric overlap area between the two faces [m²].
weight: f64Overlap fraction of the target face:
overlap_area / target_area (dimensionless). Summed over all sources of
one target this is 1 when the target is fully covered.
Trait Implementations§
Source§impl Clone for AmiOverlap
impl Clone for AmiOverlap
impl Copy for AmiOverlap
Source§impl Debug for AmiOverlap
impl Debug for AmiOverlap
Source§impl PartialEq for AmiOverlap
impl PartialEq for AmiOverlap
impl StructuralPartialEq for AmiOverlap
Auto Trait Implementations§
impl Freeze for AmiOverlap
impl RefUnwindSafe for AmiOverlap
impl Send for AmiOverlap
impl Sync for AmiOverlap
impl Unpin for AmiOverlap
impl UnsafeUnpin for AmiOverlap
impl UnwindSafe for AmiOverlap
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