When Physics Meets Machine Learning: A Survey of Physics-Informed Machine Learning