Trait fenris::element::FiniteElement
source · pub trait FiniteElement<T>: ReferenceFiniteElement<T>where
T: Scalar,
DefaultAllocator: BiDimAllocator<T, Self::GeometryDim, Self::ReferenceDim>,{
type GeometryDim: SmallDim;
// Required methods
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;
}
Required Associated Types§
type GeometryDim: SmallDim
Required Methods§
sourcefn reference_jacobian(
&self,
reference_coords: &OPoint<T, Self::ReferenceDim>
) -> OMatrix<T, Self::GeometryDim, Self::ReferenceDim>
fn reference_jacobian( &self, reference_coords: &OPoint<T, Self::ReferenceDim> ) -> OMatrix<T, Self::GeometryDim, Self::ReferenceDim>
Compute the Jacobian of the transformation from the reference element to the given element at the given reference coordinates.
sourcefn map_reference_coords(
&self,
reference_coords: &OPoint<T, Self::ReferenceDim>
) -> OPoint<T, Self::GeometryDim>
fn map_reference_coords( &self, reference_coords: &OPoint<T, Self::ReferenceDim> ) -> OPoint<T, Self::GeometryDim>
Maps reference coordinates to physical coordinates in the element.