Arrays of three-dimensional wave-energy absorbers