ARTS 2.5.11 (git: 6827797f)
|
#include "species_tags.h"
#include <algorithm>
#include <cfloat>
#include <fast_float/fast_float.h>
#include <iomanip>
#include <iterator>
#include <string_view>
#include <system_error>
#include "debug.h"
#include "isotopologues.h"
#include "nonstd.h"
#include "partfun.h"
#include "species.h"
Go to the source code of this file.
Namespaces | |
namespace | Species |
namespace | Species::detail |
Functions | |
constexpr void | Species::detail::trim (std::string_view &text) |
constexpr std::string_view | Species::detail::next (std::string_view &text) |
constexpr std::string_view | Species::detail::next_tag (std::string_view &text) |
constexpr Species | Species::detail::spec (std::string_view part, std::string_view orig) |
constexpr Index | Species::detail::isot (Species species, std::string_view isot, std::string_view orig) |
constexpr Numeric | Species::detail::freq (std::string_view part, std::string_view orig) |
constexpr void | Species::detail::check (std::string_view text, std::string_view orig) |
SpeciesTag | Species::parse_tag (std::string_view text) |
Array< Tag > | Species::parse_tags (std::string_view text) |
Parse a list of species tags into an Array<Tag> | |
Index | find_next_species (const ArrayOfArrayOfSpeciesTag &specs, Species::Species spec, Index i) noexcept |
Index | find_first_species (const ArrayOfArrayOfSpeciesTag &specs, Species::Species spec) noexcept |
std::pair< Index, Index > | find_first_species_tag (const ArrayOfArrayOfSpeciesTag &specs, const SpeciesTag &tag) noexcept |
std::pair< Index, Index > | find_first_isotologue (const ArrayOfArrayOfSpeciesTag &specs, const SpeciesIsotopeRecord &isot) noexcept |
void | check_abs_species (const ArrayOfArrayOfSpeciesTag &abs_species) |
std::set< Species::Species > | lbl_species (const ArrayOfArrayOfSpeciesTag &abs_species) noexcept |
std::ostream & | operator<< (std::ostream &os, SpeciesTagTypeStatus val) |
void check_abs_species | ( | const ArrayOfArrayOfSpeciesTag & | abs_species | ) |
Checks on the correctness of the tags will be performed, e.g. free_electrons and particles species are only allowed once in abs_species.
Definition at line 311 of file species_tags.cc.
References ARTS_USER_ERROR_IF, and Array< base >::nelem().
Referenced by propmat_clearskyAddCIA(), propmat_clearskyAddLines(), and zeeman_on_the_fly().
|
noexcept |
Find the first species tag of this type
[in] | abs_species | As WSV |
[in] | isot | An isotopologue record |
Definition at line 297 of file species_tags.cc.
|
noexcept |
Find the first species of this type
[in] | abs_species | As WSV |
[in] | spec | A Species |
Definition at line 282 of file species_tags.cc.
References find_next_species().
Referenced by abs_xsec_per_speciesAddCIA(), GasAbsLookup::Extract(), propmat_clearskyAddCIA(), refr_index_airMicrowavesEarth(), refr_index_airMicrowavesGeneral(), and set_vmr_from_first_species().
|
noexcept |
Find the first species tag of this type
[in] | abs_species | As WSV |
[in] | tag | A Species tag |
Definition at line 287 of file species_tags.cc.
|
noexcept |
Find the next species of this type inclusively after the start index
[in] | abs_species | As WSV |
[in] | spec | A Species |
[in] | i | The starting index in the outermost |
Definition at line 273 of file species_tags.cc.
Referenced by find_first_species().
|
noexcept |
Find species that requires line-by-line calculations
abs_species | As WSV |
Definition at line 360 of file species_tags.cc.
Referenced by abs_lines_per_speciesReadSpeciesSplitCatalog(), and ReadSplitARTSCAT().
std::ostream & operator<< | ( | std::ostream & | os, |
SpeciesTagTypeStatus | val | ||
) |
Definition at line 417 of file species_tags.cc.