aa_fix Subroutine

public subroutine aa_fix(axis, angle, normalize)

Modifies axis and angle to ensure a right handed rotation with angle .

Arguments

Type IntentOptional Attributes Name
real(kind=rp), intent(inout), dimension(3) :: axis

Axis of rotation. If this is not a unit vector, set normalize to True.

real(kind=rp), intent(inout) :: angle

Angle in radian.

logical, intent(in), optional :: normalize

Whether to normalize the axis to a unit vector.