StarName Derived Type

type, private :: StarName

A named star of those read: its name and magnitude, its direction in the stars read (self%stars).


Inherited by

type~~starname~~InheritedByGraph type~starname StarName type~skysphere SkySphere type~skysphere->type~starname names type~windowproxy WindowProxy type~windowproxy->type~skysphere sky_

Components

Type Visibility Attributes Name Initial
real(kind=wp), public :: mag = 0.0_wp

apparent magnitude

integer, public :: star = 0

the star's column in self%stars

character(len=:), public, allocatable :: text

the catalog's name


Source Code

    type :: StarName
        character(len=:), allocatable :: text               !! the catalog's name
        integer :: star = 0                                 !! the star's column in self%stars
        real(wp) :: mag = 0.0_wp                            !! apparent magnitude
    end type StarName