Heat equation with Delta Dirac function as boundary condition

Are you now trying to have a single dirac delta function? If you have a dirac delta function at a single point, you could have a look at:

that uses a single point source in either dolfin or dolfinx.