divergence theorem vs flux