constellation_name Function

private function constellation_name(self, i) result(name)

Constellation i's name (1 to num_constellations).

Type Bound

SkySphere

Arguments

Type IntentOptional Attributes Name
class(SkySphere), intent(in) :: self
integer, intent(in) :: i

1 to num_constellations

Return Value character(len=:), allocatable


Source Code

    function constellation_name(self, i) result(name)
        class(SkySphere), intent(in) :: self
        integer, intent(in) :: i                            !! 1 to num_constellations
        character(len=:), allocatable :: name
        name = self%groups(i)%name
    end function constellation_name