VOLCANOR
0.1.13
Documentation
Source Files
Modules
Procedures
Derived Types
Namelists
Programs
getAngleCos
Function
5 statements
Source File
libMath.f90
libMath
getAngleCos
Contents
public pure function getAngleCos(aVec, bVec)
Angle between two 3d vectors using cos formula Assumes no angle > 180 deg exists
Arguments
Type
Intent
Optional
Attributes
Name
real(kind=dp),
intent(in),
dimension(3)
::
aVec
real(kind=dp),
intent(in),
dimension(3)
::
bVec
Return Value
real(kind=dp)