pub struct ForestMeshView<const D: usize> {
pub sieve: InMemorySieve<PointId, ()>,
pub cell_points: HashMap<TreeCell<D>, PointId>,
pub vertex_points: HashMap<ForestVertex<D>, PointId>,
pub max_level: u8,
}Expand description
A conforming mesh view extracted from the forest.
Fields§
§sieve: InMemorySieve<PointId, ()>Sieve topology with cell → vertex arrows.
cell_points: HashMap<TreeCell<D>, PointId>Mapping from forest leaf cells to sieve cell points.
vertex_points: HashMap<ForestVertex<D>, PointId>Mapping from vertex coordinates to sieve vertex points.
max_level: u8Maximum refinement level represented by the view.
Trait Implementations§
Source§impl<const D: usize> Clone for ForestMeshView<D>
impl<const D: usize> Clone for ForestMeshView<D>
Source§fn clone(&self) -> ForestMeshView<D>
fn clone(&self) -> ForestMeshView<D>
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 moreAuto Trait Implementations§
impl<const D: usize> !Freeze for ForestMeshView<D>
impl<const D: usize> RefUnwindSafe for ForestMeshView<D>
impl<const D: usize> Send for ForestMeshView<D>
impl<const D: usize> Sync for ForestMeshView<D>
impl<const D: usize> Unpin for ForestMeshView<D>
impl<const D: usize> UnsafeUnpin for ForestMeshView<D>
impl<const D: usize> UnwindSafe for ForestMeshView<D>
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