// TotalKE returns the amount of energy lost in a collision including static, // but not dynamic friction. This function should only be called from a post-solve, // post-step or body.EachArbiter callback. func (a Arbiter) TotalKE() float64 { return float64(C.cpArbiterTotalKE(a.c())) }
func (a *Arbiter) TotalKineticEnergy() float64 { return float64(C.cpArbiterTotalKE(a.CPArbiter)) }