Template Function Acts::makeCurvilinearUnitU¶
Defined in File UnitVectors.hpp
Function Documentation¶
-
template<typename
InputVector
>
autoActs
::
makeCurvilinearUnitU
(const Eigen::MatrixBase<InputVector> &direction)¶ Construct the first curvilinear unit vector
U
for the given direction.The special case of the direction vector pointing along the z-axis is handled by forcing the unit vector to along the x-axis.
- Return
a normalized vector in the x-y plane orthogonal to the direction.
- Parameters
direction
: is the input direction vector