The influence of depth-varying elastic properties of the upper plate on megathrust earthquake rupture dynamics and tsunamigenesis