Some hydrodynamic aspects of arrays of wave-energy devices