Struct fenris::connectivity::Tet10Connectivity
source · pub struct Tet10Connectivity(pub [usize; 10]);
Expand description
Connectivity for a 10-node tetrahedron element.
See GMSH documentation for node ordering.
Tuple Fields§
§0: [usize; 10]
Trait Implementations§
source§impl<T> CellConnectivity<T, Const<3>> for Tet10Connectivitywhere
T: Real,
impl<T> CellConnectivity<T, Const<3>> for Tet10Connectivitywhere T: Real,
type Cell = Tetrahedron<T>
fn cell(&self, vertices: &[Point3<T>]) -> Option<Self::Cell>
source§fn for_each_face<F>(&self, f: F)where
F: FnMut(Self::FaceConnectivity),
fn for_each_face<F>(&self, f: F)where F: FnMut(Self::FaceConnectivity),
Legacy method Read more
source§impl Clone for Tet10Connectivity
impl Clone for Tet10Connectivity
source§fn clone(&self) -> Tet10Connectivity
fn clone(&self) -> Tet10Connectivity
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 Connectivity for Tet10Connectivity
impl Connectivity for Tet10Connectivity
type FaceConnectivity = Tri6d3Connectivity
fn num_faces(&self) -> usize
fn get_face_connectivity(&self, index: usize) -> Option<Self::FaceConnectivity>
fn vertex_indices(&self) -> &[usize]
source§impl ConnectivityMut for Tet10Connectivity
impl ConnectivityMut for Tet10Connectivity
fn vertex_indices_mut(&mut self) -> &mut [usize]
source§impl Debug for Tet10Connectivity
impl Debug for Tet10Connectivity
source§impl<'de> Deserialize<'de> for Tet10Connectivity
impl<'de> Deserialize<'de> for Tet10Connectivity
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<T> ElementConnectivity<T> for Tet10Connectivitywhere
T: Real,
impl<T> ElementConnectivity<T> for Tet10Connectivitywhere T: Real,
type Element = Tet10Element<T>
type GeometryDim = Const<3>
type ReferenceDim = Const<3>
source§fn element(
&self,
vertices: &[OPoint<T, Self::GeometryDim>]
) -> Option<Self::Element>
fn element( &self, vertices: &[OPoint<T, Self::GeometryDim>] ) -> Option<Self::Element>
Returns the finite element associated with this connectivity. Read more
source§fn populate_element_variables<'a, SolutionDim>(
&self,
u_local: MatrixViewMut<'_, T, SolutionDim, Dyn>,
u_global: impl Into<DVectorView<'a, T>>
)where
T: Zero,
SolutionDim: DimName,
fn populate_element_variables<'a, SolutionDim>( &self, u_local: MatrixViewMut<'_, T, SolutionDim, Dyn>, u_global: impl Into<DVectorView<'a, T>> )where T: Zero, SolutionDim: DimName,
TODO: Move this out of the trait itself?
source§impl<'a> From<&'a Tet10Connectivity> for Tet4Connectivity
impl<'a> From<&'a Tet10Connectivity> for Tet4Connectivity
source§fn from(tet10: &'a Tet10Connectivity) -> Self
fn from(tet10: &'a Tet10Connectivity) -> Self
Converts to this type from the input type.
source§impl Hash for Tet10Connectivity
impl Hash for Tet10Connectivity
source§impl MshConnectivity for Tet10Connectivity
impl MshConnectivity for Tet10Connectivity
source§fn msh_element_type() -> ElementType
fn msh_element_type() -> ElementType
Returns the MSH element type corresponding to this connectivity.
source§fn reference_dim() -> usize
fn reference_dim() -> usize
Returns the reference dimension of this connectivity (corresponds to MSH entity dimension).
source§impl PartialEq<Tet10Connectivity> for Tet10Connectivity
impl PartialEq<Tet10Connectivity> for Tet10Connectivity
source§fn eq(&self, other: &Tet10Connectivity) -> bool
fn eq(&self, other: &Tet10Connectivity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Tet10Connectivity
impl Serialize for Tet10Connectivity
impl Copy for Tet10Connectivity
impl Eq for Tet10Connectivity
impl StructuralEq for Tet10Connectivity
impl StructuralPartialEq for Tet10Connectivity
Auto Trait Implementations§
impl RefUnwindSafe for Tet10Connectivity
impl Send for Tet10Connectivity
impl Sync for Tet10Connectivity
impl Unpin for Tet10Connectivity
impl UnwindSafe for Tet10Connectivity
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.