Wave interaction with hinged flexible breakwater