I am trying to figure out what does the operator "grad" in FEniCS do to a function associated to a set of basis functions when the function is discontinuous across edges? It seems to me that I can blindly apply this to a function, for example using "RT" elements (discontinuous across edges in tangential direction), but what does grad(u) return? Does it do things element-wise? if so, then what does this mean in terms of edge-based element like RT/BDM/Nedelec?
Thanks very much!