Skip to content
Snippets Groups Projects
Commit 013d8bd3 authored by wenqing's avatar wenqing Committed by Dmitri Naumov
Browse files

[MeshLib] Added a description of getElementRotationMatrices

parent eae3943d
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,19 @@ ...@@ -17,7 +17,19 @@
namespace MeshLib namespace MeshLib
{ {
class Element; class Element;
/**
* \brief Element rotation matrix computation
*
* This function returns a vector containing the rotation matrices of given
* elements. The rotation matrix of an element is used to map the
* local vector to the global coordinate system. If an element is not inclined,
* the identity matrix is used as its rotation matrix.
*
* @param space_dimension The space dimension.
* @param mesh_dimension The mesh dimension.
* @param elements The mesh elements.
* @return A vector of rotation matrices of given elements.
*/
std::vector<Eigen::MatrixXd> getElementRotationMatrices( std::vector<Eigen::MatrixXd> getElementRotationMatrices(
int const space_dimension, int const mesh_dimension, int const space_dimension, int const mesh_dimension,
std::vector<Element*> const& elements); std::vector<Element*> const& elements);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment