Divergence cleaning for weakly compressible smoothed particle hydrodynamics | Synapse