https://123dok.net/document/nzwpj8gq-variational-approach-for-thermo-mechanical-mesh-adaptation.html