Computing breakwater stability using SWASH