Shape memory functionality relies on a phase transition between different states of the material. For instance, in SMAs, the transformation usually occurs between the martensitic and austenitic phases. When the material is deformed in its low-temperature martensitic phase, it can recover its original shape upon heating to the higher-temperature austenitic phase.