SMS dit: Basic coastal engineering