The continuous Airy-based for stress-singularities (CASS) method: an energy-based numerical formulation for unilateral materials. (1st December 2022)