


%
n=DDGelectron_driftdiffusion(mesh,Dsides,nin,pin,V,un,tn,tp,n0,p0)
IN:
v = electric potential
mesh = integration domain
ng = initial guess and BCs for electron density
p = hole density (to compute SRH recombination)
OUT:
n = updated electron density
%