Struct fenris::element::Quad4d2Element
source · pub struct Quad4d2Element<T>where
T: Scalar,{ /* private fields */ }
Implementations§
source§impl<T> Quad4d2Element<T>where
T: Scalar,
impl<T> Quad4d2Element<T>where T: Scalar,
Trait Implementations§
source§impl<T> CanonicalMassQuadrature for Quad4d2Element<T>where
T: Real,
impl<T> CanonicalMassQuadrature for Quad4d2Element<T>where T: Real,
type Quadrature = (Vec<T, Global>, Vec<OPoint<T, <Quad4d2Connectivity as ElementConnectivity<T>>::ReferenceDim>, Global>)
fn canonical_mass_quadrature(&self) -> Self::Quadrature
source§impl<T> CanonicalStiffnessQuadrature for Quad4d2Element<T>where
T: Real,
impl<T> CanonicalStiffnessQuadrature for Quad4d2Element<T>where T: Real,
type Quadrature = (Vec<T, Global>, Vec<OPoint<T, <Quad4d2Connectivity as ElementConnectivity<T>>::ReferenceDim>, Global>)
fn canonical_stiffness_quadrature(&self) -> Self::Quadrature
source§impl<T> Clone for Quad4d2Element<T>where
T: Scalar + Clone,
impl<T> Clone for Quad4d2Element<T>where T: Scalar + Clone,
source§fn clone(&self) -> Quad4d2Element<T>
fn clone(&self) -> Quad4d2Element<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T> FiniteElement<T> for Quad4d2Element<T>where
T: Real,
impl<T> FiniteElement<T> for Quad4d2Element<T>where T: Real,
type GeometryDim = Const<2>
source§fn map_reference_coords(&self, xi: &Point2<T>) -> Point2<T>
fn map_reference_coords(&self, xi: &Point2<T>) -> Point2<T>
Maps reference coordinates to physical coordinates in the element.
source§fn reference_jacobian(&self, xi: &Point2<T>) -> Matrix2<T>
fn reference_jacobian(&self, xi: &Point2<T>) -> Matrix2<T>
Compute the Jacobian of the transformation from the reference element to the given
element at the given reference coordinates.
source§impl<T> FixedNodesReferenceFiniteElement<T> for Quad4d2Element<T>where
T: Real,
impl<T> FixedNodesReferenceFiniteElement<T> for Quad4d2Element<T>where T: Real,
source§impl<'a, T> From<&'a Quad4d2Element<T>> for Quad9d2Element<T>where
T: Real,
impl<'a, T> From<&'a Quad4d2Element<T>> for Quad9d2Element<T>where T: Real,
source§fn from(quad4: &'a Quad4d2Element<T>) -> Self
fn from(quad4: &'a Quad4d2Element<T>) -> Self
Converts to this type from the input type.
source§impl<'a, T> From<Quad4d2Element<T>> for Quad9d2Element<T>where
T: Real,
impl<'a, T> From<Quad4d2Element<T>> for Quad9d2Element<T>where T: Real,
source§fn from(quad4: Quad4d2Element<T>) -> Self
fn from(quad4: Quad4d2Element<T>) -> Self
Converts to this type from the input type.
source§impl<T> PartialEq<Quad4d2Element<T>> for Quad4d2Element<T>where
T: Scalar + PartialEq,
impl<T> PartialEq<Quad4d2Element<T>> for Quad4d2Element<T>where T: Scalar + PartialEq,
source§fn eq(&self, other: &Quad4d2Element<T>) -> bool
fn eq(&self, other: &Quad4d2Element<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<T> ReferenceFiniteElement<T> for Quad4d2Element<T>where
T: Scalar,
Quad4d2Element<T>: FixedNodesReferenceFiniteElement<T>,
DefaultAllocator: BiDimAllocator<T, <Quad4d2Element<T> as FixedNodesReferenceFiniteElement<T>>::NodalDim, <Quad4d2Element<T> as FixedNodesReferenceFiniteElement<T>>::ReferenceDim>,
impl<T> ReferenceFiniteElement<T> for Quad4d2Element<T>where T: Scalar, Quad4d2Element<T>: FixedNodesReferenceFiniteElement<T>, DefaultAllocator: BiDimAllocator<T, <Quad4d2Element<T> as FixedNodesReferenceFiniteElement<T>>::NodalDim, <Quad4d2Element<T> as FixedNodesReferenceFiniteElement<T>>::ReferenceDim>,
type ReferenceDim = <Quad4d2Element<T> as FixedNodesReferenceFiniteElement<T>>::ReferenceDim
source§fn populate_basis(
&self,
result: &mut [T],
reference_coords: &OPoint<T, Self::ReferenceDim>
)
fn populate_basis( &self, result: &mut [T], reference_coords: &OPoint<T, Self::ReferenceDim> )
Evaluates each basis function at the given reference coordinates. The result is given
in a row vector where each entry is the value of the corresponding basis function. Read more
source§fn populate_basis_gradients(
&self,
result: MatrixViewMut<'_, T, Self::ReferenceDim, Dyn>,
reference_coords: &OPoint<T, Self::ReferenceDim>
)
fn populate_basis_gradients( &self, result: MatrixViewMut<'_, T, Self::ReferenceDim, Dyn>, reference_coords: &OPoint<T, Self::ReferenceDim> )
Given nodal weights, construct a matrix whose columns are the
gradients of each shape function in the element.
source§impl<T> TryFrom<Quad4d2Element<T>> for ConvexPolygon<T>where
T: Real,
impl<T> TryFrom<Quad4d2Element<T>> for ConvexPolygon<T>where T: Real,
§type Error = ConcavePolygonError
type Error = ConcavePolygonError
The type returned in the event of a conversion error.
impl<T> Copy for Quad4d2Element<T>where T: Scalar + Copy,
impl<T> Eq for Quad4d2Element<T>where T: Scalar + Eq,
impl<T> StructuralEq for Quad4d2Element<T>where T: Scalar,
impl<T> StructuralPartialEq for Quad4d2Element<T>where T: Scalar,
Auto Trait Implementations§
impl<T> RefUnwindSafe for Quad4d2Element<T>where T: RefUnwindSafe,
impl<T> Send for Quad4d2Element<T>where T: Send,
impl<T> Sync for Quad4d2Element<T>where T: Sync,
impl<T> Unpin for Quad4d2Element<T>where T: Unpin,
impl<T> UnwindSafe for Quad4d2Element<T>where T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.