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

pub trait ElementIndex<T>: Copy + Clone + PartialEq + PartialOrd + Eq + Ord + From<T> + Into<T> + Add<Output = Self> + Add<T, Output = Self> + Sub<Output = Self> + Sub<T, Output = Self> + Mul<T, Output = Self> + Div<T, Output = Self> + Rem<T, Output = Self> { }

The general structure of all types of mesh topologies is the mapping from one mesh component (like a face) to another (like a vertex). One may implement any data layout convenient for them but the interface shall remain the same. In 3D a mesh can consist of: cells (3D volumes), faces (2D surfaces), edges (1D curves) and vertices (0D points) Topology defines the mapping between each of these components This trait identifies all indices that identify a particular element in a mesh, whether it is a vertex or a triangle, or even a connectivity between triangles and vertices like a triangle-vertex.

Implementors

impl ElementIndex<usize> for CellEdgeIndex[src]

impl ElementIndex<usize> for CellFaceIndex[src]

impl ElementIndex<usize> for CellIndex[src]

impl ElementIndex<usize> for CellVertexIndex[src]

impl ElementIndex<usize> for EdgeCellIndex[src]

impl ElementIndex<usize> for EdgeFaceIndex[src]

impl ElementIndex<usize> for EdgeIndex[src]

impl ElementIndex<usize> for EdgeVertexIndex[src]

impl ElementIndex<usize> for FaceCellIndex[src]

impl ElementIndex<usize> for FaceEdgeIndex[src]

impl ElementIndex<usize> for FaceIndex[src]

impl ElementIndex<usize> for FaceVertexIndex[src]

impl ElementIndex<usize> for MeshIndex[src]

impl ElementIndex<usize> for VertexCellIndex[src]

impl ElementIndex<usize> for VertexEdgeIndex[src]

impl ElementIndex<usize> for VertexFaceIndex[src]

impl ElementIndex<usize> for VertexIndex[src]

Loading content...