ARTS 2.5.11 (git: 725533f0)
|
Namespaces | |
namespace | detail |
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 |
SpeciesTag | parse_tag (std::string_view text) |
Array< Tag > | parse_tags (std::string_view text) |
Parse a list of species tags into an Array<Tag> | |
ENUMCLASS (TagType, unsigned char, Plain, Zeeman, Predefined, Cia, FreeElectrons, Particles, XsecFit) 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 1151 of file isotopologues.h.
References is_predefined_model(), nonstd::isnan(), Isotopologues, and IsotopologuesStart.
|
noexcept |
Definition at line 610 of file isotopologues.h.
References IsotopologuesStart.
Species::ENUMCLASS | ( | TagType | , |
unsigned char | , | ||
Plain | , | ||
Zeeman | , | ||
Predefined | , | ||
Cia | , | ||
FreeElectrons | , | ||
Particles | , | ||
XsecFit | |||
) |
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.
Definition at line 14 of file species_tags.h.
References ARTS_ASSERT, ARTS_NOEXCEPT, find_species_index(), is_predefined_model(), Isotopologues, Joker, and operator<<().
|
constexprnoexcept |
Definition at line 639 of file isotopologues.h.
References find_species_index().
|
constexprnoexcept |
Definition at line 626 of file isotopologues.h.
References good_enum(), Isotopologues, and IsotopologuesStart.
Referenced by Absorption::PredefinedModel::compute_selection(), ENUMCLASS(), find_species_index(), find_species_index(), find_species_index(), Hitran::from_mol_iso(), Quantum::Number::GlobalState::GlobalState(), Jpl::id_from_lookup(), Species::detail::isot(), Species::IsotopologueRatios::operator[](), parse_tag(), Absorption::ReadFromArtscat3Stream(), Absorption::ReadFromArtscat4Stream(), Absorption::ReadFromArtscat5Stream(), select(), select(), xml_read_from_stream(), and xml_read_from_stream().
|
constexprnoexcept |
Definition at line 643 of file isotopologues.h.
References find_species_index().
|
constexpr |
Definition at line 648 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 369 of file species_tags.cc.
References ARTS_ASSERT.
|
constexprnoexcept |
Definition at line 676 of file isotopologues.h.
References nonstd::isdigit(), and Joker.
Referenced by Quantum::Number::GlobalState::good().
|
constexprnoexcept |
Definition at line 672 of file isotopologues.h.
References nonstd::isdigit(), and Joker.
Referenced by all_have_ratio(), Species::IsotopologueRatios::all_isotopes_have_a_value(), ENUMCLASS(), names_of_have_and_havenot_ratio(), parse_tag(), and predefined_model_names().
|
constexpr |
Definition at line 727 of file isotopologues.h.
References set_isot_val.
Referenced by define_wsv_data(), and isotopologue_ratiosInitFromBuiltin().
|
noexcept |
Definition at line 615 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().
Referenced by Species::detail::isot().
|
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 1127 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, and IsotopologuesStart.
SpeciesTag Species::parse_tag | ( | std::string_view | text | ) |
Definition at line 90 of file species_tags.cc.
References ARTS_USER_ERROR_IF, find_species_index(), is_predefined_model(), Isotopologues, and Joker.
Referenced by parse_tags().
Array< Tag > Species::parse_tags | ( | std::string_view | text | ) |
Parse a list of species tags into an Array<Tag>
This is the function call that ArrayOfSpeciesTag uses to create itself from a string_view, but it also performs vital error checking necessary for ARTS internals
text | A textual representation of comma-separated species tags |
Definition at line 162 of file species_tags.cc.
References parse_tag().
|
noexcept |
Definition at line 137 of file isotopologues.cc.
References is_predefined_model(), and Isotopologues.
|
constexprnoexcept |
Definition at line 682 of file isotopologues.h.
|
constexprnoexcept |
Definition at line 657 of file isotopologues.h.
References find_species_index(), and Isotopologues.
|
constexprnoexcept |
Definition at line 653 of file isotopologues.h.
References find_species_index(), and Isotopologues.
Referenced by select_joker(), and select_joker().
|
constexprnoexcept |
Definition at line 662 of file isotopologues.h.
References Joker, and select().
Referenced by abs_hitran_relmat_dataReadHitranRelmatDataAndLines().
|
constexprnoexcept |
Definition at line 666 of file isotopologues.h.
|
noexcept |
Definition at line 590 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(), mean_mass(), names_of_have_and_havenot_ratio(), parse_tag(), predefined_model_names(), select(), select(), start_positions(), Hitran::to_species_map(), and WriteBuiltinPartitionFunctionsXML().
|
inlineconstexpr |
Definition at line 607 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 ENUMCLASS(), is_normal_isotopologue(), is_predefined_model(), Species::IsotopeRecord::joker(), parse_tag(), select_joker(), select_joker(), species_iso_match(), and species_match().