A methodology for fabrication of thermomechanically activated switchable surface wettability