Monolithic time-integration algorithms for Hamiltonian systems suitable for real-time hybrid simulations