Skip to main content

VectorSink

Trait VectorSink 

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

Receives a vector indexed by an element’s DOFs: an equivalent nodal load or a lumped mass.

Required Methods§

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§