Element

Struct Element 

Source
pub struct Element<const G: usize, const N: usize> { /* private fields */ }

Trait Implementations§

Source§

impl<const G: usize, const N: usize> Debug for Element<G, N>

Source§

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

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

impl<C, const G: usize, const N: usize> ElasticFiniteElement<C, G, N> for Element<G, N>
where C: Elastic,

Source§

fn nodal_forces( &self, constitutive_model: &C, nodal_coordinates: &ElementNodalCoordinates<N>, ) -> Result<ElementNodalForcesSolid<N>, FiniteElementError>

Source§

fn nodal_stiffnesses( &self, constitutive_model: &C, nodal_coordinates: &ElementNodalCoordinates<N>, ) -> Result<ElementNodalStiffnessesSolid<N>, FiniteElementError>

Source§

impl<C, const G: usize, const N: usize> ElasticHyperviscousFiniteElement<C, G, N> for Element<G, N>

Source§

fn viscous_dissipation( &self, constitutive_model: &C, nodal_coordinates: &ElementNodalCoordinates<N>, nodal_velocities: &ElementNodalVelocities<N>, ) -> Result<Scalar, FiniteElementError>

Source§

fn dissipation_potential( &self, constitutive_model: &C, nodal_coordinates: &ElementNodalCoordinates<N>, nodal_velocities: &ElementNodalVelocities<N>, ) -> Result<Scalar, FiniteElementError>

Source§

impl<C, const G: usize, const N: usize> ElasticViscoplasticFiniteElement<C, G, N> for Element<G, N>

Source§

fn nodal_forces( &self, constitutive_model: &C, nodal_coordinates: &ElementNodalCoordinates<N>, state_variables: &ViscoplasticStateVariables<G>, ) -> Result<ElementNodalForcesSolid<N>, FiniteElementError>

Source§

fn nodal_stiffnesses( &self, constitutive_model: &C, nodal_coordinates: &ElementNodalCoordinates<N>, state_variables: &ViscoplasticStateVariables<G>, ) -> Result<ElementNodalStiffnessesSolid<N>, FiniteElementError>

Source§

fn state_variables_evolution( &self, constitutive_model: &C, nodal_coordinates: &ElementNodalCoordinates<N>, state_variables: &ViscoplasticStateVariables<G>, ) -> Result<ViscoplasticStateVariables<G>, FiniteElementError>

Source§

impl<const G: usize, const N: usize> From<TensorList<TensorRank1<3, 0>, N>> for Element<G, N>
where Self: FiniteElement<G, N>,

Source§

fn from( reference_nodal_coordinates: ElementNodalReferenceCoordinates<N>, ) -> Self

Converts to this type from the input type.
Source§

impl<C, const G: usize, const N: usize> HyperelasticFiniteElement<C, G, N> for Element<G, N>
where C: Hyperelastic,

Source§

fn helmholtz_free_energy( &self, constitutive_model: &C, nodal_coordinates: &ElementNodalCoordinates<N>, ) -> Result<Scalar, FiniteElementError>

Source§

impl<C, const G: usize, const N: usize> HyperviscoelasticFiniteElement<C, G, N> for Element<G, N>

Source§

fn helmholtz_free_energy( &self, constitutive_model: &C, nodal_coordinates: &ElementNodalCoordinates<N>, ) -> Result<Scalar, FiniteElementError>

Source§

impl<const G: usize, const N: usize> SolidFiniteElement<G, N> for Element<G, N>

Source§

impl<C, const G: usize, const N: usize> ThermalConductionFiniteElement<C, G, N> for Element<G, N>

Source§

fn potential( &self, constitutive_model: &C, nodal_temperatures: &ElementNodalTemperatures<N>, ) -> Result<Scalar, FiniteElementError>

Source§

fn nodal_forces( &self, constitutive_model: &C, nodal_temperatures: &ElementNodalTemperatures<N>, ) -> Result<ElementNodalForcesThermal<N>, FiniteElementError>

Source§

fn nodal_stiffnesses( &self, constitutive_model: &C, nodal_temperatures: &ElementNodalTemperatures<N>, ) -> Result<ElementNodalStiffnessesThermal<N>, FiniteElementError>

Source§

impl<const G: usize, const N: usize> ThermalFiniteElement<G, N> for Element<G, N>
where Self: Debug,

Source§

impl<C, const G: usize, const N: usize> ViscoelasticFiniteElement<C, G, N> for Element<G, N>
where C: Viscoelastic,

Source§

fn nodal_forces( &self, constitutive_model: &C, nodal_coordinates: &ElementNodalCoordinates<N>, nodal_velocities: &ElementNodalVelocities<N>, ) -> Result<ElementNodalForcesSolid<N>, FiniteElementError>

Source§

fn nodal_stiffnesses( &self, constitutive_model: &C, nodal_coordinates: &ElementNodalCoordinates<N>, nodal_velocities: &ElementNodalVelocities<N>, ) -> Result<ElementNodalStiffnessesSolid<N>, FiniteElementError>

Auto Trait Implementations§

§

impl<const G: usize, const N: usize> Freeze for Element<G, N>

§

impl<const G: usize, const N: usize> RefUnwindSafe for Element<G, N>

§

impl<const G: usize, const N: usize> Send for Element<G, N>

§

impl<const G: usize, const N: usize> Sync for Element<G, N>

§

impl<const G: usize, const N: usize> Unpin for Element<G, N>

§

impl<const G: usize, const N: usize> UnwindSafe for Element<G, N>

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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

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, 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.