Coastal Hydrodynamics and Wave Energy Generation