Struct fenris::element::Tet10Element
source · pub struct Tet10Element<T>where
T: Scalar,{ /* private fields */ }
Expand description
A Tet10 element, see documentation of Tet10Connectivity
.
We currently assume that the reference-to-physical transformation is affine, meaning that the geometry of the element is assumed to be affine.
Implementations§
source§impl<T> Tet10Element<T>where
T: Scalar,
impl<T> Tet10Element<T>where T: Scalar,
Trait Implementations§
source§impl<T> CanonicalMassQuadrature for Tet10Element<T>where
T: Real,
impl<T> CanonicalMassQuadrature for Tet10Element<T>where T: Real,
type Quadrature = (Vec<T, Global>, Vec<OPoint<T, <Tet10Connectivity as ElementConnectivity<T>>::ReferenceDim>, Global>)
fn canonical_mass_quadrature(&self) -> Self::Quadrature
source§impl<T> CanonicalStiffnessQuadrature for Tet10Element<T>where
T: Real,
impl<T> CanonicalStiffnessQuadrature for Tet10Element<T>where T: Real,
type Quadrature = (Vec<T, Global>, Vec<OPoint<T, <Tet10Connectivity as ElementConnectivity<T>>::ReferenceDim>, Global>)
fn canonical_stiffness_quadrature(&self) -> Self::Quadrature
source§impl<T> Clone for Tet10Element<T>where
T: Scalar + Clone,
impl<T> Clone for Tet10Element<T>where T: Scalar + Clone,
source§fn clone(&self) -> Tet10Element<T>
fn clone(&self) -> Tet10Element<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 Tet10Element<T>where
T: Real,
impl<T> FiniteElement<T> for Tet10Element<T>where T: Real,
type GeometryDim = Const<3>
source§fn reference_jacobian(&self, xi: &Point3<T>) -> Matrix3<T>
fn reference_jacobian(&self, xi: &Point3<T>) -> Matrix3<T>
Compute the Jacobian of the transformation from the reference element to the given
element at the given reference coordinates.
source§fn map_reference_coords(&self, xi: &Point3<T>) -> Point3<T>
fn map_reference_coords(&self, xi: &Point3<T>) -> Point3<T>
Maps reference coordinates to physical coordinates in the element.
source§impl<T> FixedNodesReferenceFiniteElement<T> for Tet10Element<T>where
T: Real,
impl<T> FixedNodesReferenceFiniteElement<T> for Tet10Element<T>where T: Real,
source§impl<'a, T> From<&'a Tet4Element<T>> for Tet10Element<T>where
T: Real,
impl<'a, T> From<&'a Tet4Element<T>> for Tet10Element<T>where T: Real,
source§fn from(tet4_element: &'a Tet4Element<T>) -> Self
fn from(tet4_element: &'a Tet4Element<T>) -> Self
Converts to this type from the input type.
source§impl<T> PartialEq<Tet10Element<T>> for Tet10Element<T>where
T: Scalar + PartialEq,
impl<T> PartialEq<Tet10Element<T>> for Tet10Element<T>where T: Scalar + PartialEq,
source§fn eq(&self, other: &Tet10Element<T>) -> bool
fn eq(&self, other: &Tet10Element<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<T> ReferenceFiniteElement<T> for Tet10Element<T>where
T: Scalar,
Tet10Element<T>: FixedNodesReferenceFiniteElement<T>,
DefaultAllocator: BiDimAllocator<T, <Tet10Element<T> as FixedNodesReferenceFiniteElement<T>>::NodalDim, <Tet10Element<T> as FixedNodesReferenceFiniteElement<T>>::ReferenceDim>,
impl<T> ReferenceFiniteElement<T> for Tet10Element<T>where T: Scalar, Tet10Element<T>: FixedNodesReferenceFiniteElement<T>, DefaultAllocator: BiDimAllocator<T, <Tet10Element<T> as FixedNodesReferenceFiniteElement<T>>::NodalDim, <Tet10Element<T> as FixedNodesReferenceFiniteElement<T>>::ReferenceDim>,
type ReferenceDim = <Tet10Element<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.
impl<T> Copy for Tet10Element<T>where T: Scalar + Copy,
impl<T> Eq for Tet10Element<T>where T: Scalar + Eq,
impl<T> StructuralEq for Tet10Element<T>where T: Scalar,
impl<T> StructuralPartialEq for Tet10Element<T>where T: Scalar,
Auto Trait Implementations§
impl<T> RefUnwindSafe for Tet10Element<T>where T: RefUnwindSafe,
impl<T> Send for Tet10Element<T>where T: Send,
impl<T> Sync for Tet10Element<T>where T: Sync,
impl<T> Unpin for Tet10Element<T>where T: Unpin,
impl<T> UnwindSafe for Tet10Element<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.