Redirecting to Hamiltonian vector field