Propagation of seismic waves in a continuum modeled as a granular material