kipp_list_fields Subroutine

public subroutine kipp_list_fields()

Print numbered colour selectors of color <name|number>.

1 to 3 are fixed convtype, epsnuc, neu; loaded input's column fields follow, each w/ scale and value range over run.

Arguments

None

Source Code

   subroutine kipp_list_fields()
      !! Print numbered colour selectors of `color <name|number>`.
      !!
      !! 1 to 3 are fixed `convtype`, `epsnuc`, `neu`; loaded input's column fields follow, each w/
      !! scale and value range over run.
      integer(int32) :: k
      character(len=8) :: scale
      print '(a)', 'color selectors (color <name|number>):'
      print '(a)', '   1  convtype   (no colour field, convection hatch only)'
      print '(a)', '   2  epsnuc     nuclear energy layer (log erg/g/s)'
      print '(a)', '   3  neu        neutrino energy layer (log erg/g/s)'
      if (.not. allocated(field_names) .or. nfields < 1) then
         print '(a)', '  (no extra column fields in this source)'
         return
      end if
      print '(a)', '  column fields (min .. max across the run, color -<number> for the other scale):'
      do k = 1, nfields
         scale = merge('log ', 'lin ', field_log(k))
         print '(i4,2x,a16,a,a,es11.3,a,es11.3)', k + 3, field_names(k), &
            '  ', trim(scale), field_vmin(k), ' .. ', field_vmax(k)
      end do
   end subroutine kipp_list_fields