du'*dv*dx + g(x,d,t)*u*v*ds
for the left-hand side and
f(x,d,t)*v*dx + (g(x,d,t)*gd(x,d) - gn(x,d,t))*v*ds
for the right-hand side. To assemble the matrix, write
A = AssembleMatrix(p, e, t, 'Poisson', [], 0)
and to assemble the vector, write
b = AssembleVector(p, e, t, 'Poisson', [], 0)
The last two arguments are not used in this computer session, but will be very important in the coming computer sessions.