Solving boundary handling analytically in two dimensions for smoothed particle hydrodynamics | Synapse