Energy based methods applied in mechanics by using the extended Noether's formalism