Gravar-mail: From Lagrangian Mechanics to Nonequilibrium Thermodynamics: A Variational Perspective