normalize_angle Function

public pure function normalize_angle(theta) result(normalized)

Normalize angle to [0, 2*pi) range

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: theta

Return Value real(kind=wp)