Physics-guided deep learning for dynamical systems : applications to fluid flow and ocean acoustics