This PR removes the musclePower field from the cached MuscleDynamicsInfo.
Since the cache's main purpose is to store expensive-to-compute results, and the muscle power is very cheap to compute, it can be removed from the cache.
Brief summary of changes
Removed musclePower field from MuscleDynamicsInfo in Muscle.h.
Added calcMusclePower method to Muscle in Muscle.h.
Removed power computation in all children of Muscle.
Testing I've completed
Unit tests are passing, and contain regression tests for several muscles.
This PR removes the
musclePower
field from the cachedMuscleDynamicsInfo
.Since the cache's main purpose is to store expensive-to-compute results, and the muscle power is very cheap to compute, it can be removed from the cache.
Brief summary of changes
musclePower
field fromMuscleDynamicsInfo
inMuscle.h
.calcMusclePower
method toMuscle
inMuscle.h
.Muscle
.Testing I've completed
Unit tests are passing, and contain regression tests for several muscles.
CHANGELOG.md
This change is