overriding of setGhostLayerInflow