MCPcopy Create free account
hub / github.com/SeisSol/SeisSol / getFaceRotationMatrix

Method getFaceRotationMatrix

src/Model/Common.cpp:92–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 o_N[5*6 + 5] = i_normal[1]*i_tangent1[0] + i_normal[0]*i_tangent1[1];
91}
92void seissol::model::getFaceRotationMatrix( Eigen::Vector3d const i_normal,
93 Eigen::Vector3d const i_tangent1,
94 Eigen::Vector3d const i_tangent2,
95 init::T::view::type& o_T,
96 init::Tinv::view::type& o_Tinv )
97{
98 VrtxCoords n = {i_normal(0), i_normal(1), i_normal(2)};
99 VrtxCoords s = {i_tangent1(0), i_tangent1(1), i_tangent1(2)};
100 VrtxCoords t = {i_tangent2(0), i_tangent2(1), i_tangent2(2)};
101 getFaceRotationMatrix(n, s, t, o_T, o_Tinv);
102
103}
104
105void seissol::model::getFaceRotationMatrix( VrtxCoords const i_normal,
106 VrtxCoords const i_tangent1,

Callers

nothing calls this directly

Tested by

no test coverage detected