Thermoelastic switching with controlled actuation in VO2 thin films