SecondOrderMinimize

Trait SecondOrderMinimize 

Source
pub trait SecondOrderMinimize<V, T1, T2, T3>
where T1: Tensor, T2: Tensor, T3: Tensor, V: Tensor,
{ type Variables; // Required method fn minimize( &self, applied_load: AppliedLoad, solver: impl SecondOrderOptimization<Scalar, Self::Variables, TensorTuple<FirstPiolaKirchhoffTangentStiffness, TensorTuple<T1, TensorTuple<T2, T3>>>, Self::Variables>, ) -> Result<(DeformationGradient, V), ConstitutiveError>; }
Expand description

Second-order minimization methods for hyperelastic solid constitutive models with internal variables.

Required Associated Types§

Source

type Variables

Type representing all variables.

Required Methods§

Source

fn minimize( &self, applied_load: AppliedLoad, solver: impl SecondOrderOptimization<Scalar, Self::Variables, TensorTuple<FirstPiolaKirchhoffTangentStiffness, TensorTuple<T1, TensorTuple<T2, T3>>>, Self::Variables>, ) -> Result<(DeformationGradient, V), ConstitutiveError>

Solve for the unknown components of the deformation gradient under an applied load.

\Pi(\mathbf{F},\boldsymbol{\lambda}) = a(\mathbf{F}) - \boldsymbol{\lambda}:(\mathbf{F} - \mathbf{F}_0) - \mathbf{P}_0:\mathbf{F}

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T, V, T1, T2, T3> SecondOrderMinimize<V, T1, T2, T3> for T
where T1: Tensor, T2: Tensor, T3: Tensor, T: HyperelasticIV<V, T1, T2, T3>, V: Tensor,