The coastal dynamics of sand waves and the influence of breakwaters and groynes