pub enum ClosureOrder {
BreadthFirstDmpLex,
LexicographicTensor {
dims: Vec<usize>,
},
Custom(Vec<PointId>),
}Expand description
Ordering policy for points in a cell closure.
Variants§
BreadthFirstDmpLex
Breadth-first DMPlex-style order: cell, cone, cone-of-cone, … .
LexicographicTensor
Deterministic lexicographic tensor order. dims describes the tensor
grid shape when known; this implementation uses stable point ids as the
lexicographic coordinate surrogate for topological closures.
Custom(Vec<PointId>)
User-provided point order. Points not listed are appended in breadth-first order.
Trait Implementations§
Source§impl Clone for ClosureOrder
impl Clone for ClosureOrder
Source§fn clone(&self) -> ClosureOrder
fn clone(&self) -> ClosureOrder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClosureOrder
impl Debug for ClosureOrder
Source§impl Default for ClosureOrder
impl Default for ClosureOrder
impl Eq for ClosureOrder
Source§impl PartialEq for ClosureOrder
impl PartialEq for ClosureOrder
impl StructuralPartialEq for ClosureOrder
Auto Trait Implementations§
impl Freeze for ClosureOrder
impl RefUnwindSafe for ClosureOrder
impl Send for ClosureOrder
impl Sync for ClosureOrder
impl Unpin for ClosureOrder
impl UnsafeUnpin for ClosureOrder
impl UnwindSafe for ClosureOrder
Blanket Implementations§
Source§impl<T> AccumulatePathExt for T
impl<T> AccumulatePathExt for T
fn accumulate_path<O, I>(path: I) -> Owhere
O: Orientation,
I: IntoIterator<Item = O>,
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