Differentiating the structural response within a mixed Lagrangian time integration framework | Synapse