7 #define deal_with_spec(SPEC) case Species::SPEC: return ArrayOfIsotopeRecord(isotopologues<Species::SPEC>());
10 case Species::Bath:
break;
121 case Species::FINAL: {
125 #undef deal_with_spec
132 std::ostringstream os;
133 for(
auto& s: x) os << s.FullName() <<
'\n';
138 std::ostringstream os;
141 os << x.FullName() <<
'\n';
148 if (old_name ==
"CH3CN-211224")
return "CH2DCN-224";
149 if (old_name ==
"CH3CN-211124")
return "CH3CN-2124";
150 if (old_name ==
"CH3CN-211125")
return "CH3CN-2125";
151 if (old_name ==
"CH3CN-211134")
return "CH3CN-2134";
152 if (old_name ==
"CH3CN-311124")
return "CH3CN-3124";
153 if (old_name ==
"CO2-728")
return "CO2-827";
154 if (old_name ==
"HCOOH-2261")
return "DCOOH-266";
155 if (old_name ==
"HCOOH-1262")
return "HCOOD-266";
156 if (old_name ==
"HCOOH-1261")
return "HCOOH-126";
157 if (old_name ==
"HCOOH-1361")
return "HCOOH-136";
158 if (old_name ==
"H2CO-1126")
return "H2CO-126";
159 if (old_name ==
"H2CO-1128")
return "H2CO-128";
160 if (old_name ==
"H2CO-1136")
return "H2CO-136";
161 if (old_name ==
"H2CO-1226")
return "HDCO-26";
162 if (old_name ==
"H2CO-2226")
return "D2CO-26";
This can be used to make arrays out of anything.
#define ARTS_USER_ERROR(...)
#define deal_with_spec(SPEC)
String isotopologues_names(Species spec)
constexpr bool is_predefined_model(const IsotopeRecord &ir) noexcept
constexpr std::array Isotopologues
A list of all ARTS isotopologues, note how the species enum class input HAS to be sorted.
constexpr auto IsotopologuesStart
std::pair< ArrayOfString, ArrayOfString > names_of_have_and_havenot_ratio(const Species spec, const IsotopologueRatios &ir) noexcept
consteval std::array< IsotopeRecord, count_isotopologues< spec >()> isotopologues() noexcept
String update_isot_name(const String &old_name)
Updates the name of the isotopologue based on updates of the isotopologues.
String predefined_model_names() noexcept
constexpr bool isnan(double d) noexcept