[][src]Trait gut::mesh::topology::CellEdge

pub trait CellEdge {
    fn cell_to_edge<I>(&self, i: I, k: usize) -> Option<EdgeIndex>
    where
        I: Copy + Into<CellIndex>
;
fn cell_edge<I>(&self, i: I, k: usize) -> Option<CellEdgeIndex>
    where
        I: Copy + Into<CellIndex>
;
fn num_cell_edges(&self) -> usize;
fn num_edges_at_cell<I>(&self, i: I) -> usize
    where
        I: Copy + Into<CellIndex>
; }

Required methods

fn cell_to_edge<I>(&self, i: I, k: usize) -> Option<EdgeIndex> where
    I: Copy + Into<CellIndex>, 

Index of the destination element.

fn cell_edge<I>(&self, i: I, k: usize) -> Option<CellEdgeIndex> where
    I: Copy + Into<CellIndex>, 

Toplogy index: where the data lives in an attribute array.

fn num_cell_edges(&self) -> usize

Topology quantifier. Number of connectors in total.

fn num_edges_at_cell<I>(&self, i: I) -> usize where
    I: Copy + Into<CellIndex>, 

Topology quantifier. Number of connectors at a particular element.

Loading content...

Implementors

Loading content...