A named star of those read: its name and magnitude, its direction in the stars read (self%stars).
| 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 |
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