SPH solver optimised.