A mesh utility to get element rotation matrices
For all elements of a mesh, the presented function firstly checks whether there are inclined elements. If there is no inclined element at all in the mesh, it returns an empty vector. Otherwise, the rotation matrix, which is used to map the local vector to the global system, is computed for each inclined element and stored to the corresponding entry of a vector for rotation matrix.
The function returns a vector of element rotation matrix pointers, the usage of which can be found in !3632 (merged).
The size of the rotation matrix of an inclined element is n_s \times n_e
, with n_s
the dimension of the space occupied by the mesh, and n_e
the element dimension.
-
Feature description was added to the changelog -
Tests covering your feature were added? Yes, with unit tests -
Any new feature or behavior change was documented? Yes.