Im working on a semiconductor physics problem and trying to obtain the flux through a boundary, but not quite sure how to go about to doing this. Heres the problem:
I obtain a vector-valued function for the current fluxes J on a domain [0,1] x [0,1] and want to compute the average of the normal component of J through the boundary x = 0 and x = 1.
I'm thinking I should use VectorTools::Integrate_difference and the mean norm, does this sound right? Is there someway to restrict the integration to only occur on portions of the boundary?
Thanks,
Mike