47 throw std::runtime_error(
"You are trying to store a partition function type that is unknown to ARTS.\n");
65 result_t +=
mdata[0][ii] * exponent_t;
67 result_t0 +=
mdata[0][ii] * exponent_t0;
68 exponent_t0 *= line_t0;
70 part = result_t0 / result_t;
134 throw std::runtime_error(
"You are trying to store a partition function type that is unknown to ARTS.\n");
145 throw std::runtime_error(
"The partition function data vector is not of the right length for the coefficient case.\n");
191 throw std::runtime_error(
"You are trying to set partition function data to a none line mixed line.\n");
200 else if(input ==
"CN")
203 throw std::runtime_error(
"You are trying to read a partition function type that is unknown to ARTS.\n");
244 throw std::runtime_error(
"You are trying to store a partition function type that is unknown to ARTS.\n");
258 throw std::runtime_error(
"You are trying to store a partition function type that is unknown to ARTS.\n");
INDEX Index
The type to use for all integer numbers and indices.
Index nelem() const
Number of elements.
void CoeffData2Vector(Vector &output) const
void GetVectorFromData(Vector &output) const
Index nelem() const
Returns the number of elements.
Index ExpectedVectorLengthFromType() const
NUMERIC Numeric
The type to use for all floating point numbers.
Index GetPartitionFunctionDataParams(Numeric &part, const Numeric &line_t0, const Numeric &atm_t) const
String Type2StorageTag() const
void GetCoeff(Numeric &part, const Numeric &line_t0, const Numeric &atm_t) const
void Vector2CoeffData(const Vector &input)
void SetDataFromVectorWithKnownType(const Vector &input)
Contains the partition function data class definition.
void resize(Index n)
Resize function.
void StorageTag2SetType(const String &input)
void Vector2NoneData(const Vector &)