Stress, deformation, and martensitic transformation