Skip to main content

Element

Struct Element 

Source
pub struct Element { /* private fields */ }

Trait Implementations§

Source§

impl Debug for Element

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<C> ElasticElement<C> for Element
where C: Elastic,

Source§

impl<C> ElasticHyperviscousElement<C> for Element

Source§

fn viscous_dissipation( &self, constitutive_model: &C, nodal_coordinates: &ElementNodalCoordinates, nodal_velocities: &ElementNodalVelocities, ) -> Result<Quantity<Power>, VirtualElementError>

Source§

fn dissipation_potential( &self, constitutive_model: &C, nodal_coordinates: &ElementNodalCoordinates, nodal_velocities: &ElementNodalVelocities, ) -> Result<Quantity<Power>, VirtualElementError>

Source§

impl<C, Y> ElasticViscoplasticElement<C, 1, Y> for Element

Source§

impl From<(TensorVector<TensorVector<TensorRank1<3, Reference, Length>>>, &[usize], &[usize], &[Vec<usize>])> for Element

Source§

fn from( (reference_nodal_coordinates, element_faces, element_nodes, block_faces_nodes): (ElementNodalReferenceCoordinates, &[usize], &[usize], &[Vec<usize>]), ) -> Self

Converts to this type from the input type.
Source§

impl<C> HyperelasticElement<C> for Element
where C: Hyperelastic,

Source§

fn helmholtz_free_energy( &self, constitutive_model: &C, nodal_coordinates: &ElementNodalCoordinates, ) -> Result<Quantity<Energy>, VirtualElementError>

Source§

impl<C, Y> HyperelasticViscoplasticElement<C, 1, Y> for Element

Source§

fn helmholtz_free_energy( &self, constitutive_model: &C, nodal_coordinates: &ElementNodalCoordinates, state_variables: &ViscoplasticStateVariables<1, Y>, ) -> Result<Quantity<Energy>, VirtualElementError>

Source§

impl<C> HyperviscoelasticElement<C> for Element

Source§

fn helmholtz_free_energy( &self, constitutive_model: &C, nodal_coordinates: &ElementNodalCoordinates, ) -> Result<Quantity<Energy>, VirtualElementError>

Source§

impl SolidElement for Element
where Self: VirtualElement,

Source§

impl VirtualElement for Element

Source§

impl<C> ViscoelasticElement<C> for Element
where C: Viscoelastic,

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T, C> ElasticHyperviscousVirtualElement<C> for T

Source§

impl<T, C> ElasticVirtualElement<C> for T

Source§

impl<T, C, Y> ElasticViscoplasticVirtualElement<C, Y> for T

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, C> HyperelasticVirtualElement<C> for T

Source§

impl<T, C, Y> HyperelasticViscoplasticVirtualElement<C, Y> for T

Source§

impl<T, C> HyperviscoelasticVirtualElement<C> for T

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Is<T> for T

Source§

impl<T> SolidVirtualElement for T
where T: VirtualElement + SolidElement<Coordinates = TensorVector<TensorRank1<3, Current, Length>>, Velocities = TensorVector<TensorRank1<3, Current, Velocity>>, DeformationGradients = TensorVector<TensorRank2<3, Current, Reference>>, DeformationGradientRates = TensorVector<TensorRank2<3, Current, Reference, Rate>>>,

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T, C> ViscoelasticVirtualElement<C> for T