Modelling crack initiation and propagation in masonry using the partition of unity method