Reorient the surface connectivity according to the interior element.


elmIds (array)
An array of surface to element numbers.
cnn (array)
An array of surface connectivity.
pElemIds (array)
Ann array of parent element set element numbers.
pCnn (array)
An array of parent element set connectivity.
pInvMap (array)
InvMap of pElemIds (optional).

Return Value

newCnn (array)
Reoriented surface connectivity.