Enum GridType

Enum Documentation

enum class specsyn::GridType : std::uint8_t

Distinguishes the different kinds of chained spectral library by how they’re parameterized.

Used by SpecsynLibChained to track separate log(Teff)/log(g) clamp ranges per kind of library, rather than a single range combined across every chained library regardless of type – see SpecsynLibChained’s own logTeffMin_/logTeffMax_/loggMin_/ loggMax_ members. nGridType is not itself a grid type: it is a trailing sentinel giving the number of real enumerators above it, used to size those arrays.

Values:

enumerator wrGrid

A SpecsynLibWR library (WR_grid = true in the registry)

enumerator wdGrid

A SpecsynLibWD library (WD_grid = true in the registry)

enumerator normalGrid

A SpecsynLibNoWind library (neither flag set)

enumerator nGridType

Sentinel: the number of real GridType enumerators above