Let , and let S be the boundary of V. The divergence theorem
says, in vector notation,
Here stands for the vector , with n the
outward unit normal on , and the (physical) surface
element. In tensor notation the divergence theorem is given by
For a derivation and further references see Van Kan et al. (1991).