How slippery are piecewise-constant coastlines in numerical ocean models?

How slippery are piecewise-constant coastlines in numerical ocean models?