Text this: Structure-preserving Integrators in Nonlinear Structural Dynamics and Flexible Multibody Dynamics