ARTS 2.5.10 (git: 2f1c442c)
|
Classes | |
struct | IsotopeRecord |
Struct containing all information needed about one isotope. More... | |
struct | IsotopologueRatios |
Functions | |
ArrayOfIsotopeRecord | isotopologues (Species spec) |
String | isotopologues_names (Species spec) |
String | predefined_model_names () noexcept |
String | update_isot_name (const String &old_name) |
Updates the name of the isotopologue based on updates of the isotopologues. | |
std::pair< ArrayOfString, ArrayOfString > | names_of_have_and_havenot_ratio (const Species spec, const IsotopologueRatios &ir) noexcept |
consteval std::array< std::size_t, std::size_t(Species::FINAL)+1 > | start_positions () noexcept |
template<Species spec> | |
consteval std::size_t | count_isotopologues () noexcept |
template<Species spec> | |
consteval std::array< IsotopeRecord, count_isotopologues< spec >()> | isotopologues () noexcept |
constexpr Index | find_species_index (const Species spec, const std::string_view isot) noexcept |
constexpr Index | find_species_index (const IsotopeRecord ir) noexcept |
constexpr Index | find_species_index (const std::string_view spec, const std::string_view isot) noexcept |
constexpr Index | find_species_index (std::string_view s) |
constexpr const IsotopeRecord & | select (Species spec, const std::string_view isotname) noexcept |
constexpr const IsotopeRecord & | select (const std::string_view spec, const std::string_view isotname) noexcept |
constexpr const IsotopeRecord & | select_joker (Species spec) noexcept |
constexpr const IsotopeRecord & | select_joker (std::string_view spec) noexcept |
constexpr bool | is_predefined_model (const IsotopeRecord &ir) noexcept |
constexpr bool | is_normal_isotopologue (const IsotopeRecord &ir) noexcept |
constexpr bool | same_or_joker (const IsotopeRecord &ir1, const IsotopeRecord &ir2) noexcept |
constexpr IsotopologueRatios | isotopologue_ratiosInitFromBuiltin () |
constexpr Numeric | mean_mass (Species spec, const IsotopologueRatios &ir) noexcept |
constexpr bool | all_have_ratio (const Species spec, const IsotopologueRatios &ir) noexcept |
ENUMCLASS (TagType, unsigned char, Plain, Zeeman, Predefined, Cia, FreeElectrons, Particles, XsecFit, NoLines) struct Tag | |
Numeric | first_vmr (const ArrayOfArrayOfSpeciesTag &abs_species, const Vector &rtp_vmr, const Species spec) ARTS_NOEXCEPT |
Variables | |
constexpr std::string_view | Joker = "*" |
constexpr std::array | Isotopologues |
A list of all ARTS isotopologues, note how the species enum class input HAS to be sorted. | |
constexpr auto | IsotopologuesStart = start_positions() |
|
constexprnoexcept |
Definition at line 1143 of file isotopologues.h.
References is_predefined_model(), nonstd::isnan(), Isotopologues, IsotopologuesStart, and joker.
|
noexcept |
Definition at line 602 of file isotopologues.h.
References IsotopologuesStart.
Species::ENUMCLASS | ( | TagType | , |
unsigned char | , | ||
Plain | , | ||
Zeeman | , | ||
Predefined | , | ||
Cia | , | ||
FreeElectrons | , | ||
Particles | , | ||
XsecFit | , | ||
NoLines | |||
) |
Molecular species index in Species::Isotopologues
The lower limit line center frequency in Hz.
If this is < 0 it means no lower limit.
The upper line center frequency in Hz.
If this is < 0 it means no upper limit.
Flag for the type
2nd CIA species index.
Contains the second CIA species that should be used for this tag.
CIA dataset index.
A CIA file contains several datasets. This index specifies which one we want.
Definition at line 14 of file species_tags.h.
References ARTS_ASSERT, ARTS_NOEXCEPT, find_species_index(), is_predefined_model(), Isotopologues, operator!=(), operator<<(), and operator==().
|
constexprnoexcept |
Definition at line 631 of file isotopologues.h.
References find_species_index().
|
constexprnoexcept |
Definition at line 618 of file isotopologues.h.
References good_enum(), Isotopologues, and IsotopologuesStart.
Referenced by Absorption::PredefinedModel::compute_selection(), ENUMCLASS(), find_species_index(), Hitran::from_mol_iso(), Quantum::Number::GlobalState::GlobalState(), Jpl::id_from_lookup(), main(), Species::IsotopologueRatios::operator[](), Absorption::ReadFromArtscat3Stream(), Absorption::ReadFromArtscat4Stream(), Absorption::ReadFromArtscat5Stream(), select(), test_mpm20(), and xml_read_from_stream().
|
constexprnoexcept |
Definition at line 635 of file isotopologues.h.
References find_species_index().
|
constexpr |
Definition at line 640 of file isotopologues.h.
References find_species_index().
Numeric Species::first_vmr | ( | const ArrayOfArrayOfSpeciesTag & | abs_species, |
const Vector & | rtp_vmr, | ||
const Species | spec | ||
) |
First VMR or 0
abs_species | As WSV |
rtp_vmr | As WSV |
spec | A species |
Definition at line 488 of file species_tags.cc.
References ARTS_ASSERT.
|
constexprnoexcept |
Definition at line 668 of file isotopologues.h.
References nonstd::isdigit(), and Joker.
Referenced by Quantum::Number::GlobalState::good().
|
constexprnoexcept |
Definition at line 664 of file isotopologues.h.
References nonstd::isdigit().
Referenced by all_have_ratio(), Species::IsotopologueRatios::all_isotopes_have_a_value(), ENUMCLASS(), main(), names_of_have_and_havenot_ratio(), nonexistentPartfun(), and predefined_model_names().
|
constexpr |
Definition at line 719 of file isotopologues.h.
References set_isot_val.
Referenced by define_wsv_data(), isotopologue_ratiosInitFromBuiltin(), and main().
|
noexcept |
Definition at line 607 of file isotopologues.h.
References Isotopologues, and IsotopologuesStart.
Referenced by abs_lines_per_speciesReadSpeciesSplitCatalog(), and isotopologues_names().
Array< IsotopeRecord > Species::isotopologues | ( | Species | spec | ) |
Definition at line 6 of file isotopologues.cc.
References ARTS_USER_ERROR, and deal_with_spec.
String Species::isotopologues_names | ( | Species | spec | ) |
Definition at line 130 of file isotopologues.cc.
References isotopologues().
|
constexprnoexcept |
Computes the mean mass for all defined isotopes of the species with mass and isotopologue ratio
\[ m = \frac{ \sum_i r_i m_i }{ \sum_i r_i } \]
[in] | spec | A species |
[in] | ir | All isotopologue ratios |
Definition at line 1119 of file isotopologues.h.
References nonstd::isnan(), Isotopologues, and IsotopologuesStart.
Referenced by ecs_dataAddMakarov2020(), ecs_dataAddRodrigues1997(), ecs_dataAddSpeciesData(), ecs_dataAddTran2006(), ecs_dataAddTran2011(), and LineShape::mass().
|
noexcept |
Definition at line 166 of file isotopologues.cc.
References is_predefined_model(), nonstd::isnan(), Isotopologues, IsotopologuesStart, and joker.
|
noexcept |
Definition at line 137 of file isotopologues.cc.
References is_predefined_model(), and Isotopologues.
|
constexprnoexcept |
Definition at line 674 of file isotopologues.h.
|
constexprnoexcept |
Definition at line 649 of file isotopologues.h.
References find_species_index(), and Isotopologues.
|
constexprnoexcept |
Definition at line 645 of file isotopologues.h.
References find_species_index(), and Isotopologues.
Referenced by select_joker().
|
constexprnoexcept |
Definition at line 654 of file isotopologues.h.
References select().
Referenced by abs_hitran_relmat_dataReadHitranRelmatDataAndLines().
|
constexprnoexcept |
Definition at line 658 of file isotopologues.h.
References select().
|
noexcept |
Definition at line 582 of file isotopologues.h.
References Isotopologues.
Updates the name of the isotopologue based on updates of the isotopologues.
This should only be invoked by versioned code as it is not very efficient.
[in] | old_name | A valid isotopologue name in any version of ARTS |
Definition at line 147 of file isotopologues.cc.
Referenced by Absorption::ReadFromArtscat3Stream(), Absorption::ReadFromArtscat4Stream(), and Absorption::ReadFromArtscat5Stream().
|
inlineconstexpr |
A list of all ARTS isotopologues, note how the species enum class input HAS to be sorted.
Definition at line 57 of file isotopologues.h.
Referenced by abs_linesReadSpeciesSplitCatalog(), all_have_ratio(), Species::IsotopologueRatios::all_isotopes_have_a_value(), ENUMCLASS(), find_species_index(), Quantum::Number::GlobalState::Isotopologue(), isotopologues(), main(), mean_mass(), names_of_have_and_havenot_ratio(), nonexistentPartfun(), predefined_model_names(), select(), start_positions(), test_ls(), test_mpm20(), Hitran::to_species_map(), and WriteBuiltinPartitionFunctionsXML().
|
inlineconstexpr |
Definition at line 599 of file isotopologues.h.
Referenced by all_have_ratio(), count_isotopologues(), find_species_index(), isotopologues(), mean_mass(), and names_of_have_and_havenot_ratio().
|
inlineconstexpr |
Definition at line 13 of file isotopologues.h.
Referenced by is_normal_isotopologue(), Species::IsotopeRecord::joker(), species_iso_match(), and species_match().