Trait gut::CellFace [−][src]
pub trait CellFace {
fn face<I>(&self, i: I) -> FaceIndex
where
I: Copy + Into<CellFaceIndex>;
fn cell_face<I>(&self, i: I, k: usize) -> Option<CellFaceIndex>
where
I: Copy + Into<CellIndex>;
fn num_cell_faces(&self) -> usize;
fn num_faces_at_cell<I>(&self, i: I) -> usize
where
I: Copy + Into<CellIndex>;
fn cell_to_face<I>(&self, i: I, k: usize) -> Option<FaceIndex>
where
I: Copy + Into<CellIndex>,
{ ... }
}
Required methods
Index of the destination element given the topology index.
Toplogy index: where the data lives in an attribute array.
fn num_cell_faces(&self) -> usize
fn num_cell_faces(&self) -> usize
Topology quantifier. Number of connectors in total.