A simplified analytical model for the design of flexible barriers against debris flows