Effective anisotropic elastic constants for wave propagation through cracked solids