Trait ZerothOrderRoot

Source
pub trait ZerothOrderRoot {
    // Required method
    fn root(
        &self,
        applied_load: AppliedLoad,
        solver: impl ZerothOrderRootFinding<DeformationGradient>,
    ) -> Result<DeformationGradient, OptimizeError>;
}
Expand description

Zeroth-order root-finding methods for elastic constitutive models.

Required Methods§

Source

fn root( &self, applied_load: AppliedLoad, solver: impl ZerothOrderRootFinding<DeformationGradient>, ) -> Result<DeformationGradient, OptimizeError>

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

\mathbf{P}(\mathbf{F}) - \boldsymbol{\lambda} - \mathbf{P}_0 = \mathbf{0}

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> ZerothOrderRoot for T
where T: Elastic,