The application of a fast solver in marine hydrodynamics