Baoyun, the electrical field is just the gradient of the potential, so this is
easy to evaluate via FEValues::get_function_gradients(). For the integration,
what surface do you want to integrate over? Any surface? A surface that is
composed of faces of cells? The former is difficult, the latter easy to
achieve with the FEFaceValues class.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email:
bang...@colostate.edu
www:
http://www.math.colostate.edu/~bangerth/