Development of the boundary conditions required for simulating a wave tank using smoothed particle hydrodynamics