elmGradField()

Get the average grad-field within each element.

Parameters

crd (array)
An array of nodal coordinates.
cnn (array)
An array of surface connectivity.
vec (array)
An array of nodal solution.

Return Value

gradVec (array)
An array of element gradients.