Function gosh_elastic::elastic::compute_elastic_contribution
source · pub fn compute_elastic_contribution<'a, I>(env: I) -> (f64, Vector3f)where
I: IntoIterator<Item = &'a Connection>,Expand description
Compute elastic energy and force contribution of a center node from its elastic connections with its neighbors