4#include "auto_partfun.h"
8#include "matpack_data.h"
13template <Derivatives d>
15 using Species::Species;
17#define deal_with_spec(SPEC) \
19 return compute##SPEC<d>(T, ir.isotname);
22 case Species::Bath:
break;
133 case Species::FINAL: {
154 using Species::Species;
156#define deal_with_spec(SPEC) \
157 case Species::SPEC: \
158 for (auto& x : has##SPEC) \
159 if (x == ir.isotname) return true; \
163 case Species::Bath:
break;
274 case Species::FINAL: {
278 #undef deal_with_spec
#define ARTS_USER_ERROR(...)
#define deal_with_spec(SPEC)
template Numeric partfun_impl< Derivatives::Yes >(Numeric T, const Species::IsotopeRecord &ir)
template Numeric partfun_impl< Derivatives::No >(Numeric T, const Species::IsotopeRecord &ir)
Numeric partfun_impl(Numeric T, const Species::IsotopeRecord &ir)
Numeric dQdT(Numeric T, const Species::IsotopeRecord &ir)
constexpr bool has_partfun(const Species::IsotopeRecord &ir) noexcept
Numeric Q(Numeric T, const Species::IsotopeRecord &ir)
Struct containing all information needed about one isotope.
Species spec
Species type as defined in species.h.