Trait gut::FaceCell [−][src]
pub trait FaceCell {
fn cell<I>(&self, i: I) -> CellIndex
where
I: Copy + Into<FaceCellIndex>;
fn face_cell<I>(&self, i: I, k: usize) -> Option<FaceCellIndex>
where
I: Copy + Into<FaceIndex>;
fn num_face_cells(&self) -> usize;
fn num_cells_at_face<I>(&self, i: I) -> usize
where
I: Copy + Into<FaceIndex>;
fn face_to_cell<I>(&self, i: I, k: usize) -> Option<CellIndex>
where
I: Copy + Into<FaceIndex>,
{ ... }
}
Required methods
Index of the destination element given the topology index.
Toplogy index: where the data lives in an attribute array.
fn num_face_cells(&self) -> usize
fn num_face_cells(&self) -> usize
Topology quantifier. Number of connectors in total.