A variational material model for shape memory alloys under thermal cycling. Issue 1 (18th November 2019)