https://rezyxyvoxoce.ekodeniz.com/variational-prinicples-in-thermo-and-magneto-elasticity-book-6584gp.php