A 3D detailed micro-model for the in-plane and out-of-plane numerical analysis of masonry panels