## "Stellar shell" profile fit results (for spectra)

Observation version 1 (dynamic size) since 22-feb-2021:
The section size is now dynamic and can offer space for less or more than 5 lines, always with mshelllin nline. mshelllin, and thus the array sizes (mshellfit), is implicit and can be guessed from the section length (by reverting the class_sec_she_len formula below). Using mshelllin ensures backward compatibility with older CLASS versions. Other values are read incorrectly with such versions.

Observation version 1 (static size):

      ! SHELL: "Stellar shell" profile fit results (for spectra).
      integer(kind=4), parameter :: class_sec_she_id=-12
      integer(kind=4), parameter :: mshelllin=5
      integer(kind=4), parameter :: nshellpar=4  ! Number of parameters per line
      integer(kind=4), parameter :: mshellfit=nshellpar*mshelllin
      integer(kind=4), parameter :: class_sec_she_len=3+2*mshellfit
      type shell
         sequence
         integer(kind=4) :: nline            ! [] Number of components
         real(kind=4)    :: sigba            ! [] Sigma on base
         real(kind=4)    :: sigra            ! [] Sigma on line
         real(kind=4)    :: nfit(mshellfit)  ! [] Fit results
         real(kind=4)    :: nerr(mshellfit)  ! [] Errors
      end type shell