dirac injection function