Diffusion drift equation

Hello all, I have a combined diffusion drift equation and poisson equation to be solved which has the form
捕获


wher w_e=m\nabla \phi.
I don’t know how to implement it in the weak form and am appreciated if anyone can help me.