Preperation for better pressure solver. This is not our own implementation