The diffusion equation is,
∂C∂t=D∇2C .
In constant source diffusion, the concentration is held constant at the surface. The concentration of dopants is,
C(z,t)=C0erfc(z√4Dt).
The concentration falls at the surface and the total number of dopants remains constant.