getAngleCos Function

public pure function getAngleCos(aVec, bVec)

Angle between two 3d vectors using cos formula Assumes no angle > 180 deg exists

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in), dimension(3) :: aVec
real(kind=dp), intent(in), dimension(3) :: bVec

Return Value real(kind=dp)