Homogenization Techniques Applied to Earthquake Problems