A continuous energy-based numerical approach to predict fracture mechanisms in masonry structures: CDF method. (December 2021)