is_structural_kipp Function

private pure function is_structural_kipp(name) result(yes)

Test whether .kipp column is structural, so not offered as colour field.

Structural: accepted names of required columns ("Required columns", docs/kippfiles.md) and mlt_mixing_type.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: name

Column name.

Return Value logical


Source Code

   pure function is_structural_kipp(name) result(yes)
      !! Test whether `.kipp` column is structural, so not offered as colour field.
      !!
      !! Structural: accepted names of required columns ("Required columns", docs/kippfiles.md) and
      !! `mlt_mixing_type`.
      ! Arguments
      character(len=*), intent(in) :: name
         !! Column name.
      logical :: yes
      select case (trim(name))
      case ('model_number', 'model', &
            'star_age_yr', 'star_age', 'age_yr', 'dt_s', 'dt', &
            'm_g', 'mass_g', 'mass', 'r_cm', 'radius_cm', 'r', &
            'mixing_type', 'mix_type', 'mixing', 'mlt_mixing_type', &
            'eps_net_erg_g_s', 'eps_nuc', 'eps_net', 'eps')
         yes = .true.
      case default
         yes = .false.
      end select
   end function is_structural_kipp