num_stars Function

private pure function num_stars(self)

Number of stars read.

Type Bound

SkySphere

Arguments

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

Return Value integer


Source Code

    pure integer function num_stars(self)
        class(SkySphere), intent(in) :: self
        num_stars = self%n_stars
    end function num_stars