$$ \gdef\pd#1#2{\frac{\partial #1}{\partial #2}} \gdef\d#1{\, \mathrm{d}#1} \gdef\dx{\d{x}} \gdef\tr#1{\operatorname{tr} (#1)} $$ $$ \gdef\norm#1{\left \lVert #1 \right\rVert} \gdef\seminorm#1{| #1 |} $$ $$ \gdef\vec#1{\mathbf{\boldsymbol{#1}}} $$

Trait fenris::element::FiniteElement[][src]

pub trait FiniteElement<T>: ReferenceFiniteElement<T> where
    T: Scalar,
    DefaultAllocator: FiniteElementAllocator<T, Self::GeometryDim, Self::ReferenceDim>, 
{ type GeometryDim: SmallDim; fn reference_jacobian(
        &self,
        reference_coords: &OPoint<T, Self::ReferenceDim>
    ) -> OMatrix<T, Self::GeometryDim, Self::ReferenceDim>;
fn map_reference_coords(
        &self,
        reference_coords: &OPoint<T, Self::ReferenceDim>
    ) -> OPoint<T, Self::GeometryDim>;
fn diameter(&self) -> T; }

Associated Types

Required methods

Compute the Jacobian of the transformation from the reference element to the given element at the given reference coordinates.

Maps reference coordinates to physical coordinates in the element.

The diameter of the finite element.

The diameter of a finite element is defined as the largest distance between any two points in the element, i.e. h = min |x - y| for x, y in K where K is the element and h is the diameter.

Implementors