Thermodynamic Modeling Of Martensitic Transformations In Shape Memory Alloys.