The influence of Lifshitz forces and gas on premelting of ice within porous materials