Skip to main content

TangentSink

Trait TangentSink 

Source
pub trait TangentSink<NId> {
    // Required method
    fn add<const N: usize>(
        &mut self,
        dofs: &[DofRef<NId>; N],
        k: &SMatrix<f64, N, N>,
        r: &SVector<f64, N>,
    );
}
Expand description

Receives an element’s tangent stiffness k and internal resisting force r, indexed by the element’s DOFs dofs (row a of k and entry a of r belong to dofs[a]).

Required Methods§

Source

fn add<const N: usize>( &mut self, dofs: &[DofRef<NId>; N], k: &SMatrix<f64, N, N>, r: &SVector<f64, N>, )

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§