next up previous contents
Next: 4.7.3 SUBROUTINE ZUINPI(PHIIN, PHIOUT) Up: 4.7 Patch GENUTL : Previous: 4.7.1 SUBROUTINE ZULETD(ABSP, MASS,   Contents


4.7.2 SUBROUTINE ZUI2PI(PHIIN, PHIOUT) : bring angle Into the interval 0 to 2PI

The angle PHIIN is set to the equivalent angle in 0 to 2pi.

ARGUMENTS:
INPUT :
    PHIIN : input angle.
OUTPUT :
    PHIOUT : output angle = PHIIN, but given in the interval 0-2 pi
IMPLICIT INPUTS:
    none.
IMPLICIT OUTPUTS:
    none.
CALLED BY :
any routine.

CALLED ROUTINE(S):
none

SIDE EFFECTS:
none.

AUTHORS:
K. Hultqvist, Stockholms Universitet

CREATION DATE:
20-APR-2001



Mikael Berggren 2003-03-27