High order numerical methods for a unified theory of fluid and solid mechanics