pub struct NedelecFirstKindElementFamily<T: RlstScalar + Getrf + Getri = f64, TGeo: RlstScalar = f64> { /* private fields */ }Expand description
Nedelec (first kind) element family
A family of Nedelec elements on multiple cell types with appropriate continuity across different cell types.
Implementations§
Source§impl<T: RlstScalar + Getrf + Getri, TGeo: RlstScalar> NedelecFirstKindElementFamily<T, TGeo>
impl<T: RlstScalar + Getrf + Getri, TGeo: RlstScalar> NedelecFirstKindElementFamily<T, TGeo>
Sourcepub fn new(degree: usize, continuity: Continuity) -> Self
pub fn new(degree: usize, continuity: Continuity) -> Self
Create new family with given degree and continuity.
Trait Implementations§
Source§impl<T: RlstScalar + Getrf + Getri, TGeo: RlstScalar> ElementFamily for NedelecFirstKindElementFamily<T, TGeo>
impl<T: RlstScalar + Getrf + Getri, TGeo: RlstScalar> ElementFamily for NedelecFirstKindElementFamily<T, TGeo>
Source§type CellType = ReferenceCellType
type CellType = ReferenceCellType
Cell type
Source§type FiniteElement = CiarletElement<T, CovariantPiolaMap, TGeo>
type FiniteElement = CiarletElement<T, CovariantPiolaMap, TGeo>
The finite element type
Source§fn element(
&self,
cell_type: ReferenceCellType,
) -> CiarletElement<T, CovariantPiolaMap, TGeo>
fn element( &self, cell_type: ReferenceCellType, ) -> CiarletElement<T, CovariantPiolaMap, TGeo>
Create an element for the given cell type.
Auto Trait Implementations§
impl<T, TGeo> Freeze for NedelecFirstKindElementFamily<T, TGeo>
impl<T, TGeo> RefUnwindSafe for NedelecFirstKindElementFamily<T, TGeo>where
T: RefUnwindSafe,
TGeo: RefUnwindSafe,
impl<T, TGeo> Send for NedelecFirstKindElementFamily<T, TGeo>
impl<T, TGeo> Sync for NedelecFirstKindElementFamily<T, TGeo>
impl<T, TGeo> Unpin for NedelecFirstKindElementFamily<T, TGeo>
impl<T, TGeo> UnwindSafe for NedelecFirstKindElementFamily<T, TGeo>where
T: UnwindSafe,
TGeo: UnwindSafe,
Blanket Implementations§
§impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
§fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
Convert the given value into an approximately equivalent representation.
§impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
§fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
Convert the subject into an approximately equivalent representation.
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, Dst> ConvAsUtil<Dst> for T
impl<T, Dst> ConvAsUtil<Dst> for T
§impl<T> ConvUtil for T
impl<T> ConvUtil for T
§fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst>,
fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst>,
Approximate the subject to a given type with the default scheme.
§fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
Approximate the subject to a given type with a specific scheme.
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<Src> TryFrom<Src> for Src
impl<Src> TryFrom<Src> for Src
§impl<Src, Dst> TryInto<Dst> for Srcwhere
Dst: TryFrom<Src>,
impl<Src, Dst> TryInto<Dst> for Srcwhere
Dst: TryFrom<Src>,
§impl<Src> ValueFrom<Src> for Src
impl<Src> ValueFrom<Src> for Src
§fn value_from(src: Src) -> Result<Src, <Src as ValueFrom<Src>>::Err>
fn value_from(src: Src) -> Result<Src, <Src as ValueFrom<Src>>::Err>
Convert the given value into an exactly equivalent representation.
§impl<Src, Dst> ValueInto<Dst> for Srcwhere
Dst: ValueFrom<Src>,
impl<Src, Dst> ValueInto<Dst> for Srcwhere
Dst: ValueFrom<Src>,
§fn value_into(self) -> Result<Dst, <Src as ValueInto<Dst>>::Err>
fn value_into(self) -> Result<Dst, <Src as ValueInto<Dst>>::Err>
Convert the subject into an exactly equivalent representation.