SMS: Wave mechanics for ocean engineering