Zaslat SMS: Boundary conditions for free surface inlet and outlet problems