pub struct Partition { /* private fields */ }Implementations§
Source§impl Partition
impl Partition
pub fn new<const D: usize>(mesh: &Mesh<D>, elements_parts: Vec<usize>) -> Self
pub fn number_of_parts(&self) -> usize
pub fn elements_parts(&self) -> &[usize]
pub fn part_of(&self, element: usize) -> usize
pub fn part_elements(&self, part: usize) -> &[usize]
pub fn part_nodes(&self, part: usize) -> &[usize]
pub fn parts_nodes(&self) -> &[Vec<usize>]
pub fn node_parts(&self, node: usize) -> &[usize]
pub fn interface_nodes(&self) -> Vec<usize>
pub fn quality<const D: usize>(&self, mesh: &Mesh<D>) -> PartitionQuality
Trait Implementations§
impl StructuralPartialEq for Partition
Auto Trait Implementations§
impl Freeze for Partition
impl RefUnwindSafe for Partition
impl Send for Partition
impl Sync for Partition
impl Unpin for Partition
impl UnsafeUnpin for Partition
impl UnwindSafe for Partition
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