pub trait ElementFamily {
type T: RlstScalar;
type CellType: Debug + PartialEq + Eq + Clone + Copy + Hash;
type FiniteElement: FiniteElement<T = Self::T, CellType = Self::CellType> + 'static;
// Required method
fn element(&self, cell_type: Self::CellType) -> Self::FiniteElement;
}Expand description
A family of finite elements defined on various cell types, with appropriate continuity between different cell types.
Required Associated Types§
Sourcetype FiniteElement: FiniteElement<T = Self::T, CellType = Self::CellType> + 'static
type FiniteElement: FiniteElement<T = Self::T, CellType = Self::CellType> + 'static
The finite element type
Required Methods§
Sourcefn element(&self, cell_type: Self::CellType) -> Self::FiniteElement
fn element(&self, cell_type: Self::CellType) -> Self::FiniteElement
Create an element for the given cell type.