You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(exp/inverse): Simplify activation parameter to a single scalar stretch
The parameter `q` for the inverse problem, representing muscle activation, is changed from a 6-DoF Voigt-notation vector to a single scalar per active cell. This scalar represents the principal stretch factor, gamma.
The full activation matrix is now derived from this scalar, assuming volume preservation, with diagonal components `[1/gamma, sqrt(gamma), sqrt(gamma)]`. This significantly reduces the dimensionality of the optimization problem from `6 * n_active_cells` to `n_active_cells`, making it better-posed and easier to solve.
Additionally, the maximum number of iterations for the conjugate gradient linear solver in the adjoint method is increased to improve the accuracy of the gradient calculation.
0 commit comments