Understanding coastal morphodynamics using stability methods