Non-negligible role of gradient porous structure in superelasticity deterioration and improvement of NiTi shape memory alloys