ARTS 2.5.11 (git: 6827797f)
|
Struct containing all information needed about one isotope. More...
#include <isotopologues.h>
Public Member Functions | |
constexpr | IsotopeRecord (Species spec_, const std::string_view isotname_=Joker, Numeric mass_=std::numeric_limits< Numeric >::quiet_NaN(), Index gi_=-1) noexcept |
constexpr | IsotopeRecord () noexcept |
constexpr bool | operator== (const IsotopeRecord &that) const noexcept |
constexpr bool | operator== (const std::string_view specstr) const noexcept |
A comparison with pure named string (this is not an exact comparison) | |
template<typename T > | |
constexpr bool | operator!= (T x) const noexcept |
String | FullName () const noexcept |
constexpr bool | joker () const noexcept |
constexpr bool | OK () const noexcept |
Public Attributes | |
Species | spec |
Species type as defined in species.h. | |
std::string_view | isotname |
A custom name that is unique for this Species type. | |
Numeric | mass |
The mass of the isotope in units of grams per mol. It is Nan if not defined. | |
Index | gi |
The degeneracy of states of the molecule. It is -1 if not defined. | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const IsotopeRecord &ir) |
Struct containing all information needed about one isotope.
Definition at line 16 of file isotopologues.h.
|
inlineexplicitconstexprnoexcept |
Definition at line 29 of file isotopologues.h.
|
inlineconstexprnoexcept |
Definition at line 32 of file isotopologues.h.
|
inlinenoexcept |
Definition at line 49 of file isotopologues.h.
References isotname, and spec.
Referenced by Species::IsotopologueRatios::operator[](), and Absorption::Lines::SpeciesName().
|
inlineconstexprnoexcept |
Definition at line 50 of file isotopologues.h.
References isotname, and Species::Joker.
|
inlineconstexprnoexcept |
Definition at line 51 of file isotopologues.h.
References good_enum(), and spec.
|
inlineconstexprnoexcept |
Definition at line 47 of file isotopologues.h.
References operator==().
|
inlineconstexprnoexcept |
Definition at line 37 of file isotopologues.h.
References isotname, and spec.
Referenced by operator!=().
|
inlineconstexprnoexcept |
A comparison with pure named string (this is not an exact comparison)
Definition at line 42 of file isotopologues.h.
|
friend |
Definition at line 34 of file isotopologues.h.
Index Species::IsotopeRecord::gi |
The degeneracy of states of the molecule. It is -1 if not defined.
Definition at line 27 of file isotopologues.h.
std::string_view Species::IsotopeRecord::isotname |
A custom name that is unique for this Species type.
Definition at line 21 of file isotopologues.h.
Referenced by lm_hitran_2017::calcw(), FullName(), joker(), operator==(), species_iso_match(), and species_match().
Numeric Species::IsotopeRecord::mass |
The mass of the isotope in units of grams per mol. It is Nan if not defined.
Definition at line 24 of file isotopologues.h.
Species Species::IsotopeRecord::spec |
Species type as defined in species.h.
Definition at line 18 of file isotopologues.h.
Referenced by FullName(), OK(), operator==(), PartitionFunctions::detail::partfun_impl(), Quantum::Number::GlobalState::Species(), and species_iso_match().