rodriguez_rotation Function

public function rodriguez_rotation(n1, n2, v) result(v_rot)

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in) :: n1(3)

Unit vector describing the orientation to rotate from

real(kind=rk), intent(in) :: n2(3)

Unit vector describing orientation to rotate to

real(kind=rk), intent(in) :: v(3)

Vector to rotate

Return Value real(kind=rk), (3)