ARTS
2.4.0(git:4fb77825)
|
#include <energylevelmap.h>
Public Member Functions | |
bool | OK () const |
void | ThrowIfNotOK () const |
EnergyLevelMap () | |
EnergyLevelMap (EnergyLevelMapType new_type, Index pages, Index rows, Index cols, const EnergyLevelMap &old) | |
EnergyLevelMap (const Tensor4 &data, const ArrayOfQuantumIdentifier &levels, const Vector &energies=Vector(0)) | |
EnergyLevelMap (const Matrix &data, const ArrayOfQuantumIdentifier &levels, const Vector &energies=Vector(0)) | |
EnergyLevelMap (const Vector &data, const ArrayOfQuantumIdentifier &levels, const Vector &energies=Vector(0)) | |
EnergyLevelMap | InterpToGridPos (Index atmosphere_dim, const ArrayOfGridPos &p, const ArrayOfGridPos &lat, const ArrayOfGridPos &lon) const |
EnergyLevelMap | operator[] (Index ip) const |
EnergyLevelMap | operator() (Index ip, Index ilat, Index ilon) const |
EnergyLevelMapType | Type () const noexcept |
Energy level type. More... | |
const ArrayOfQuantumIdentifier & | Levels () const noexcept |
Energy level type. More... | |
const Vector & | Energies () const noexcept |
Energy level type. More... | |
const Tensor4 & | Data () const noexcept |
Energy level type. More... | |
EnergyLevelMapType & | Type () noexcept |
Energy level type. More... | |
ArrayOfQuantumIdentifier & | Levels () noexcept |
Energy level type. More... | |
Vector & | Energies () noexcept |
Energy level type. More... | |
Tensor4 & | Data () noexcept |
Energy level type. More... | |
void | Type (EnergyLevelMapType x) noexcept |
Energy level type. More... | |
Output2 | get_ratio_params (const AbsorptionLines &band, const Index &line_index) const |
Get the output required for Population::NLTE. More... | |
Output4 | get_vibtemp_params (const AbsorptionLines &band, const Index &line_index, const Numeric T) const |
Get the output required for Population::NLTE-VibrationalTemperatures. More... | |
Static Public Member Functions | |
static bool | validIndexForType (Index x) noexcept |
static EnergyLevelMapType | string2Type (const String &s) noexcept |
Private Attributes | |
EnergyLevelMapType | mtype |
ArrayOfQuantumIdentifier | mlevels |
Vector | mvib_energy |
Tensor4 | mvalue |
Definition at line 60 of file energylevelmap.h.
|
inline |
Definition at line 95 of file energylevelmap.h.
References ThrowIfNotOK().
Referenced by InterpToGridPos(), operator()(), and operator[]().
|
inline |
Definition at line 98 of file energylevelmap.h.
References ThrowIfNotOK().
EnergyLevelMap::EnergyLevelMap | ( | const Tensor4 & | data, |
const ArrayOfQuantumIdentifier & | levels, | ||
const Vector & | energies = Vector(0) |
||
) |
Definition at line 90 of file energylevelmap.cc.
References ThrowIfNotOK().
EnergyLevelMap::EnergyLevelMap | ( | const Matrix & | data, |
const ArrayOfQuantumIdentifier & | levels, | ||
const Vector & | energies = Vector(0) |
||
) |
Definition at line 99 of file energylevelmap.cc.
References data, joker, mvalue, and ThrowIfNotOK().
EnergyLevelMap::EnergyLevelMap | ( | const Vector & | data, |
const ArrayOfQuantumIdentifier & | levels, | ||
const Vector & | energies = Vector(0) |
||
) |
Definition at line 109 of file energylevelmap.cc.
References data, joker, mvalue, and ThrowIfNotOK().
|
inlinenoexcept |
Energy level type.
Definition at line 131 of file energylevelmap.h.
References mvalue.
Referenced by AtmFieldsCalcExpand1D(), CompareRelative(), operator<<(), xml_read_from_stream(), and xml_write_to_stream().
|
inlinenoexcept |
|
inlinenoexcept |
Energy level type.
Definition at line 128 of file energylevelmap.h.
References mvib_energy.
Referenced by CompareRelative(), operator<<(), xml_read_from_stream(), and xml_write_to_stream().
|
inlinenoexcept |
Output2 EnergyLevelMap::get_ratio_params | ( | const AbsorptionLines & | band, |
const Index & | line_index | ||
) | const |
Get the output required for Population::NLTE.
[in] | transition | A line-by-line transition |
Definition at line 31 of file energylevelmap.cc.
References Absorption::id_in_line_lower(), Absorption::id_in_line_upper(), mlevels, mtype, mvalue, Numeric_t, and ARTS::Var::x().
Referenced by Linefunctions::set_cross_section_of_band().
Output4 EnergyLevelMap::get_vibtemp_params | ( | const AbsorptionLines & | band, |
const Index & | line_index, | ||
const Numeric | T | ||
) | const |
Get the output required for Population::NLTE-VibrationalTemperatures.
[in] | transition | A line-by-line transition |
Definition at line 58 of file energylevelmap.cc.
References Absorption::id_in_line_lower(), Absorption::id_in_line_upper(), mlevels, mtype, mvalue, mvib_energy, Array< base >::nelem(), Numeric_t, and ARTS::Var::x().
Referenced by Linefunctions::set_cross_section_of_band().
EnergyLevelMap EnergyLevelMap::InterpToGridPos | ( | Index | atmosphere_dim, |
const ArrayOfGridPos & | p, | ||
const ArrayOfGridPos & | lat, | ||
const ArrayOfGridPos & | lon | ||
) | const |
Definition at line 119 of file energylevelmap.cc.
References ARTS::Var::atmosphere_dim(), EnergyLevelMap(), interp_atmfield_by_itw(), interp_atmfield_gp2itw(), joker, ARTS::Var::lat(), ARTS::Var::lon(), mlevels, mtype, mvalue, Array< base >::nelem(), Tensor3_t, and Vector_t.
|
inlinenoexcept |
Energy level type.
Definition at line 125 of file energylevelmap.h.
References mlevels.
Referenced by operator<<(), xml_read_from_stream(), and xml_write_to_stream().
|
inlinenoexcept |
|
inline |
Definition at line 68 of file energylevelmap.h.
References mlevels, mtype, mvalue, mvib_energy, ConstTensor4View::nbooks(), ConstTensor4View::ncols(), Array< base >::nelem(), ConstVectorView::nelem(), ConstTensor4View::npages(), ConstTensor4View::nrows(), Numeric_t, Tensor3_t, and Vector_t.
Referenced by ThrowIfNotOK().
EnergyLevelMap EnergyLevelMap::operator() | ( | Index | ip, |
Index | ilat, | ||
Index | ilon | ||
) | const |
Definition at line 199 of file energylevelmap.cc.
References EnergyLevelMap(), joker, mtype, mvalue, Numeric_t, and Tensor3_t.
EnergyLevelMap EnergyLevelMap::operator[] | ( | Index | ip | ) | const |
Definition at line 139 of file energylevelmap.cc.
References EnergyLevelMap(), joker, mtype, mvalue, ConstTensor4View::ncols(), Numeric_t, Tensor3_t, and Vector_t.
|
inlinestaticnoexcept |
Definition at line 158 of file energylevelmap.h.
|
inline |
Definition at line 93 of file energylevelmap.h.
References OK().
Referenced by EnergyLevelMap(), and xml_read_from_stream().
|
inlinenoexcept |
Energy level type.
Definition at line 122 of file energylevelmap.h.
References mtype.
Referenced by operator<<(), xml_read_from_stream(), and xml_write_to_stream().
|
inlinenoexcept |
|
inlinenoexcept |
Energy level type.
Definition at line 156 of file energylevelmap.h.
References mtype, and ARTS::Var::x().
|
inlinestaticnoexcept |
Definition at line 149 of file energylevelmap.h.
References Numeric_t, stdarrayify(), Tensor3_t, Vector_t, ARTS::Var::x(), and ARTS::Var::y().
|
private |
Definition at line 63 of file energylevelmap.h.
Referenced by get_ratio_params(), get_vibtemp_params(), InterpToGridPos(), Levels(), and OK().
|
private |
Definition at line 62 of file energylevelmap.h.
Referenced by get_ratio_params(), get_vibtemp_params(), InterpToGridPos(), OK(), operator()(), operator[](), and Type().
|
private |
Definition at line 65 of file energylevelmap.h.
Referenced by Data(), EnergyLevelMap(), get_ratio_params(), get_vibtemp_params(), InterpToGridPos(), OK(), operator()(), and operator[]().
|
private |
Definition at line 64 of file energylevelmap.h.
Referenced by Energies(), get_vibtemp_params(), and OK().