Criticality of Confined Fluids Based on the Tensile Strength of Liquids