Nanothermomechanical Logic Gates For Thermal Computing