Skip to main content

Canonical

Struct Canonical 

Source
pub struct Canonical<C1, C2>(/* private fields */);

Trait Implementations§

Source§

impl<C1: Clone, C2: Clone> Clone for Canonical<C1, C2>

Source§

fn clone(&self) -> Canonical<C1, C2>

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<C1, C2> Debug for Canonical<C1, C2>

Source§

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

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

impl<C1, C2> ElasticHyperviscous for Canonical<C1, C2>
where C1: Elastic, C2: Hyperviscous,

Source§

fn dissipation_potential( &self, deformation_gradient: &DeformationGradient, deformation_gradient_rate: &DeformationGradientRate, ) -> Result<Quantity<Dissipation>, ConstitutiveError>

Calculates and returns the dissipation potential. Read more
Source§

fn internal_dissipation( &self, deformation_gradient: &DeformationGradient, deformation_gradient_rate: &DeformationGradientRate, ) -> Result<Quantity<Dissipation>, ConstitutiveError>

Calculates and returns the internal dissipation. Read more
Source§

impl<C1, C2> ElasticPlasticOrViscoplastic for Canonical<C1, C2>
where C1: Elastic, C2: Plastic,

Source§

fn cauchy_stress( &self, deformation_gradient: &DeformationGradient, deformation_gradient_p: &DeformationGradientPlastic, ) -> Result<CauchyStress, ConstitutiveError>

Calculates and returns the Cauchy stress. Read more
Source§

fn cauchy_tangent_stiffness( &self, deformation_gradient: &DeformationGradient, deformation_gradient_p: &DeformationGradientPlastic, ) -> Result<CauchyTangentStiffness, ConstitutiveError>

Calculates and returns the tangent stiffness associated with the Cauchy stress. Read more
Source§

fn first_piola_kirchhoff_stress( &self, deformation_gradient: &DeformationGradient, deformation_gradient_p: &DeformationGradientPlastic, ) -> Result<FirstPiolaKirchhoffStress, ConstitutiveError>

Calculates and returns the first Piola-Kirchhoff stress. Read more
Source§

fn first_piola_kirchhoff_tangent_stiffness( &self, deformation_gradient: &DeformationGradient, deformation_gradient_p: &DeformationGradientPlastic, ) -> Result<FirstPiolaKirchhoffTangentStiffness, ConstitutiveError>

Calculates and returns the tangent stiffness associated with the first Piola-Kirchhoff stress. Read more
Source§

fn second_piola_kirchhoff_stress( &self, deformation_gradient: &DeformationGradient, deformation_gradient_p: &DeformationGradientPlastic, ) -> Result<SecondPiolaKirchhoffStress, ConstitutiveError>

Calculates and returns the second Piola-Kirchhoff stress. Read more
Source§

fn second_piola_kirchhoff_tangent_stiffness( &self, deformation_gradient: &DeformationGradient, deformation_gradient_p: &DeformationGradientPlastic, ) -> Result<SecondPiolaKirchhoffTangentStiffness, ConstitutiveError>

Calculates and returns the tangent stiffness associated with the second Piola-Kirchhoff stress. Read more
Source§

fn mandel_stress( &self, deformation_gradient: &DeformationGradient, deformation_gradient_p: &DeformationGradientPlastic, ) -> Result<MandelStressElastic, ConstitutiveError>

Calculates and returns the Mandel stress. Read more
Source§

impl<C1, C2, Y2> ElasticViscoplastic<Y2> for Canonical<C1, C2>
where C1: Elastic, C2: Viscoplastic<Y2>, Y2: Differentiable + Tensor,

Source§

fn internal_dissipation( &self, deformation_gradient: &DeformationGradient, state_variables: &ViscoplasticStateVariables<Y>, ) -> Result<Quantity<Dissipation>, ConstitutiveError>

Calculates and returns the internal dissipation. Read more
Source§

fn state_variables_evolution( &self, deformation_gradient: &DeformationGradient, state_variables: &ViscoplasticStateVariables<Y>, ) -> Result<ViscoplasticEvolution<Y>, ConstitutiveError>

Calculates and returns the evolution of the state variables.
Source§

impl<C1, C2> From<(C1, C2)> for Canonical<C1, C2>

Source§

fn from((constitutive_model_1, constitutive_model_2): (C1, C2)) -> Self

Converts to this type from the input type.
Source§

impl<C1, C2, Y2> HyperelasticViscoplastic<Y2> for Canonical<C1, C2>
where C1: Hyperelastic, C2: Viscoplastic<Y2>, Y2: Differentiable + Tensor,

Source§

fn helmholtz_free_energy_density( &self, deformation_gradient: &DeformationGradient, deformation_gradient_p: &DeformationGradientPlastic, ) -> Result<Quantity<EnergyDensity>, ConstitutiveError>

Calculates and returns the Helmholtz free energy density. Read more
Source§

impl<C1, C2> Hyperviscoelastic for Canonical<C1, C2>
where C1: Hyperelastic, C2: Hyperviscous,

Source§

fn helmholtz_free_energy_density( &self, deformation_gradient: &DeformationGradient, ) -> Result<Quantity<EnergyDensity>, ConstitutiveError>

Calculates and returns the Helmholtz free energy density. Read more
Source§

impl<C1, C2> Hyperviscous for Canonical<C1, C2>
where C1: Elastic, C2: Hyperviscous,

Source§

fn viscous_dissipation( &self, deformation_gradient: &DeformationGradient, deformation_gradient_rate: &DeformationGradientRate, ) -> Result<Quantity<Dissipation>, ConstitutiveError>

Calculates and returns the viscous dissipation. Read more
Source§

impl<C1, C2> Plastic for Canonical<C1, C2>
where C1: Elastic, C2: Plastic,

Source§

fn initial_yield_stress(&self) -> Quantity<Stress>

Returns the initial yield stress.
Source§

fn hardening_slope(&self) -> Quantity<Stress>

Returns the isotropic hardening slope.
Source§

fn yield_stress( &self, equivalent_plastic_strain: Quantity, ) -> Result<Quantity<Stress>, ConstitutiveError>

Calculates and returns the yield stress. Read more
Source§

impl<C1, C2> Solid for Canonical<C1, C2>
where C1: Solid, C2: Clone,

Source§

fn bulk_modulus(&self) -> Quantity<Stress>

Returns the bulk modulus.
Source§

fn shear_modulus(&self) -> Quantity<Stress>

Returns the shear modulus.
Source§

fn jacobian<I, J>( &self, deformation_gradient: &DeformationGradientGeneral<I, J>, ) -> Result<Scalar, ConstitutiveError>

Calculates and returns the Jacobian.
Source§

impl<C1, C2> Viscoelastic for Canonical<C1, C2>
where C1: Elastic, C2: Viscous,

Source§

fn cauchy_stress( &self, deformation_gradient: &DeformationGradient, deformation_gradient_rate: &DeformationGradientRate, ) -> Result<CauchyStress, ConstitutiveError>

Calculates and returns the Cauchy stress. Read more
Source§

fn cauchy_rate_tangent_stiffness( &self, deformation_gradient: &DeformationGradient, deformation_gradient_rate: &DeformationGradientRate, ) -> Result<CauchyRateTangentStiffness, ConstitutiveError>

Calculates and returns the rate tangent stiffness associated with the Cauchy stress. Read more
Source§

fn first_piola_kirchhoff_stress( &self, deformation_gradient: &DeformationGradient, deformation_gradient_rate: &DeformationGradientRate, ) -> Result<FirstPiolaKirchhoffStress, ConstitutiveError>

Calculates and returns the first Piola-Kirchhoff stress. Read more
Source§

fn first_piola_kirchhoff_rate_tangent_stiffness( &self, deformation_gradient: &DeformationGradient, deformation_gradient_rate: &DeformationGradientRate, ) -> Result<FirstPiolaKirchhoffRateTangentStiffness, ConstitutiveError>

Calculates and returns the rate tangent stiffness associated with the first Piola-Kirchhoff stress. Read more
Source§

fn second_piola_kirchhoff_stress( &self, deformation_gradient: &DeformationGradient, deformation_gradient_rate: &DeformationGradientRate, ) -> Result<SecondPiolaKirchhoffStress, ConstitutiveError>

Calculates and returns the second Piola-Kirchhoff stress. Read more
Source§

fn second_piola_kirchhoff_rate_tangent_stiffness( &self, deformation_gradient: &DeformationGradient, deformation_gradient_rate: &DeformationGradientRate, ) -> Result<SecondPiolaKirchhoffRateTangentStiffness, ConstitutiveError>

Calculates and returns the rate tangent stiffness associated with the second Piola-Kirchhoff stress. Read more
Source§

impl<C1, C2, Y2> Viscoplastic<Y2> for Canonical<C1, C2>
where C1: Elastic, C2: Viscoplastic<Y2>, Y2: Differentiable + Tensor,

Source§

fn initial_state(&self) -> ViscoplasticStateVariables<Y2>

Returns the initial state of the variables.
Source§

fn plastic_evolution( &self, mandel_stress: MandelStressElastic, state_variables: &ViscoplasticStateVariables<Y2>, ) -> Result<ViscoplasticEvolution<Y2>, ConstitutiveError>

Calculates and returns the plastic evolution. Read more
Source§

fn plastic_stretching_rate( &self, deviatoric_mandel_stress: MandelStressElastic, yield_stress: Quantity<Stress>, ) -> Result<StretchingRatePlastic, ConstitutiveError>

Calculates and returns the rate of plastic stretching. Read more
Source§

fn dissipation_potential( &self, plastic_stretching_rate: StretchingRatePlastic, yield_stress: Quantity<Stress>, ) -> Result<Quantity<Dissipation>, ConstitutiveError>

Calculates and returns the dissipation potential. Read more
Source§

fn dual_dissipation_potential( &self, deviatoric_mandel_stress: MandelStressElastic, yield_stress: Quantity<Stress>, ) -> Result<Quantity<Dissipation>, ConstitutiveError>

Calculates and returns the dual dissipation potential. Read more
Source§

fn rate_sensitivity(&self) -> Scalar

Returns the rate_sensitivity parameter.
Source§

fn reference_flow_rate(&self) -> Quantity<Rate>

Returns the reference flow rate.
Source§

fn plastic_stretching_rate_tangent( &self, deviatoric_mandel_stress: &MandelStressElastic, yield_stress: Quantity<Stress>, ) -> Result<StretchingRatePlasticTangent, ConstitutiveError>

Calculates and returns the tangent of the plastic stretching rate with respect to the deviatoric Mandel stress. Read more
Source§

fn plastic_stretching_rate_tangent_yield( &self, deviatoric_mandel_stress: MandelStressElastic, yield_stress: Quantity<Stress>, ) -> Result<StretchingRatePlasticTangentYield, ConstitutiveError>

Calculates and returns the tangent of the plastic stretching rate with respect to the yield stress. Read more
Source§

impl<C1, C2> Viscous for Canonical<C1, C2>
where C1: Elastic, C2: Viscous,

Source§

fn bulk_viscosity(&self) -> Quantity<Viscosity>

Returns the bulk viscosity.
Source§

fn shear_viscosity(&self) -> Quantity<Viscosity>

Returns the shear viscosity.
Source§

fn viscous_cauchy_stress( &self, deformation_gradient: &DeformationGradient, deformation_gradient_rate: &DeformationGradientRate, ) -> Result<CauchyStress, ConstitutiveError>

Calculates and returns the viscous Cauchy stress. Read more
Source§

fn viscous_cauchy_rate_tangent_stiffness( &self, deformation_gradient: &DeformationGradient, deformation_gradient_rate: &DeformationGradientRate, ) -> Result<CauchyRateTangentStiffness, ConstitutiveError>

Calculates and returns the rate tangent stiffness associated with the viscous Cauchy stress. Read more
Source§

fn viscous_first_piola_kirchhoff_stress( &self, deformation_gradient: &DeformationGradient, deformation_gradient_rate: &DeformationGradientRate, ) -> Result<FirstPiolaKirchhoffStress, ConstitutiveError>

Calculates and returns the viscous first Piola-Kirchhoff stress. Read more
Source§

fn viscous_first_piola_kirchhoff_rate_tangent_stiffness( &self, deformation_gradient: &DeformationGradient, deformation_gradient_rate: &DeformationGradientRate, ) -> Result<FirstPiolaKirchhoffRateTangentStiffness, ConstitutiveError>

Calculates and returns the rate tangent stiffness associated with the viscous first Piola-Kirchhoff stress. Read more
Source§

fn viscous_second_piola_kirchhoff_stress( &self, deformation_gradient: &DeformationGradient, deformation_gradient_rate: &DeformationGradientRate, ) -> Result<SecondPiolaKirchhoffStress, ConstitutiveError>

Calculates and returns the viscous second Piola-Kirchhoff stress. Read more
Source§

fn viscous_second_piola_kirchhoff_rate_tangent_stiffness( &self, deformation_gradient: &DeformationGradient, deformation_gradient_rate: &DeformationGradientRate, ) -> Result<SecondPiolaKirchhoffRateTangentStiffness, ConstitutiveError>

Calculates and returns the rate tangent stiffness associated with the viscous second Piola-Kirchhoff stress. Read more

Auto Trait Implementations§

§

impl<C1, C2> Freeze for Canonical<C1, C2>
where C1: Freeze, C2: Freeze,

§

impl<C1, C2> RefUnwindSafe for Canonical<C1, C2>

§

impl<C1, C2> Send for Canonical<C1, C2>
where C1: Send, C2: Send,

§

impl<C1, C2> Sync for Canonical<C1, C2>
where C1: Sync, C2: Sync,

§

impl<C1, C2> Unpin for Canonical<C1, C2>
where C1: Unpin, C2: Unpin,

§

impl<C1, C2> UnsafeUnpin for Canonical<C1, C2>
where C1: UnsafeUnpin, C2: UnsafeUnpin,

§

impl<C1, C2> UnwindSafe for Canonical<C1, C2>
where C1: UnwindSafe, C2: UnwindSafe,

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<C> Constitutive for C
where C: Solid,

Source§

impl<T> FirstOrderMinimize for T

Source§

impl<C, Y> FirstOrderMinimize<Y> for C

Source§

impl<T> FirstOrderRoot for T
where T: Viscoelastic,

Source§

impl<C, Y> FirstOrderRoot<Y> for C

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

Source§

impl<T> SecondOrderMinimize for T

Source§

impl<C, Y> SecondOrderMinimize<Y> for C

Source§

impl<C, Y> StateEvolution<Time, Y> for C

Source§

type Field = Product<Unimodular<Intermediate, Reference>, Flat<Y>>

Geometry of the composite internal state.
Source§

type Drive = TensorRank2<3, Current, Reference>

The externally-imposed driving input.
Source§

fn initial_state( &self, ) -> TensorTuple<TensorRank2<3, Intermediate, Reference>, Y>

The initial internal state.
Source§

fn state_rate( &self, _time: Quantity<Time>, deformation_gradient: &TensorRank2<3, Current, Reference>, state: &TensorTuple<TensorRank2<3, Intermediate, Reference>, Y>, ) -> Result<<<<C as StateEvolution<Time, Y>>::Field as Integrable>::Increment as Differentiable>::Derivative, String>

The product of Lie-algebra rates at (time, drive, state).
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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> ZerothOrderRoot for T
where T: Viscoelastic,

Source§

impl<C, Y> ZerothOrderRoot<Y> for C