/// Convenience method to compute the force.
Convenience method to compute the force.
Convenience method to compute the force .
fn compute_force(&mut self, coords: &Coords, meta: Meta) -> FailResult<Vec<V3>>
    {
        let mut force = self.compute_grad(coords, meta)?;
        for v in &mut force { *v = -*v; }
        Ok(force)
    }
fn compute_force ( & mut self , coords : & Coords , meta : Meta ) -> FailResult < Vec < V3 > > { let mut force = self . compute_grad ( coords , meta ) ? ; for v in & mut force { * v = - * v ; } Ok ( force ) }
Convenience method to compute the force.
Convenience method to compute the force .
&mut self
coords
&Coords
meta
Meta