Template Function Acts::makeCurvilinearUnitVectors¶
Defined in File UnitVectors.hpp
Function Documentation¶
-
template<typename
InputVector
>
autoActs
::
makeCurvilinearUnitVectors
(const Eigen::MatrixBase<InputVector> &direction)¶ Construct the curvilinear unit vectors
U
andV
for the given direction.With
T
the normalized input direction, the three vectorsU
,V
, andT
form an orthonormal basis set, i.e. they satisfyU x V = T V x T = U T x U = V
- Return
normalized unit vectors
U
andV
orthogonal to the direction.- Parameters
direction
: is the input direction vector
with the additional condition that
U
is located in the global x-y plane.