ARTS
2.3.1285(git:92a29ea9-dirty)
|
#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.
Referenced by InterpToGridPos(), operator()(), and operator[]().
|
inline |
Definition at line 98 of file energylevelmap.h.
References data.
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.
Referenced by abs_xsec_per_speciesAddLines(), AtmFieldsCalcExpand1D(), CompareRelative(), iyIndependentBeamApproximation(), nlte_fieldForSingleSpeciesNonOverlappingLines(), nlte_fieldRescalePopulationLevels(), nlteSetByQuantumIdentifiers(), operator<<(), propmat_clearsky_fieldCalc(), xml_read_from_stream(), xml_write_to_stream(), and zeeman_on_the_fly().
|
inlinenoexcept |
Energy level type.
Definition at line 143 of file energylevelmap.h.
|
inlinenoexcept |
Energy level type.
Definition at line 128 of file energylevelmap.h.
Referenced by AtmFieldsCalc(), AtmFieldsCalcExpand1D(), CompareRelative(), nlteSetByQuantumIdentifiers(), operator<<(), xml_read_from_stream(), and xml_write_to_stream().
|
inlinenoexcept |
Energy level type.
Definition at line 140 of file energylevelmap.h.
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 i, Absorption::id_in_line_lower(), Absorption::id_in_line_upper(), mlevels, mtype, mvalue, Numeric_t, and Output2::r_low.
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 i, Absorption::id_in_line_lower(), Absorption::id_in_line_upper(), mlevels, mtype, mvalue, mvib_energy, Array< base >::nelem(), Numeric_t, and Output4::T_low.
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 EnergyLevelMap(), interp_atmfield_by_itw(), interp_atmfield_gp2itw(), joker, mlevels, mtype, mvalue, Array< base >::nelem(), None_t, Tensor3_t, and Vector_t.
Referenced by get_ppath_atmvars().
|
inlinenoexcept |
Energy level type.
Definition at line 125 of file energylevelmap.h.
Referenced by AtmFieldsCalc(), AtmFieldsCalcExpand1D(), nlte_fieldForSingleSpeciesNonOverlappingLines(), nlte_positions_in_statistical_equilibrium_matrix(), nlteSetByQuantumIdentifiers(), operator<<(), xml_read_from_stream(), xml_write_to_stream(), and zeeman_on_the_fly().
|
inlinenoexcept |
Energy level type.
Definition at line 137 of file energylevelmap.h.
|
inline |
Definition at line 68 of file energylevelmap.h.
References ConstTensor4View::nbooks(), ConstTensor4View::ncols(), Array< base >::nelem(), ConstVectorView::nelem(), None_t, ConstTensor4View::npages(), ConstTensor4View::nrows(), Numeric_t, Tensor3_t, and Vector_t.
EnergyLevelMap EnergyLevelMap::operator() | ( | Index | ip, |
Index | ilat, | ||
Index | ilon | ||
) | const |
Definition at line 199 of file energylevelmap.cc.
References EnergyLevelMap(), joker, mtype, mvalue, None_t, 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(), None_t, Numeric_t, and Vector_t.
|
inlinestaticnoexcept |
Definition at line 158 of file energylevelmap.h.
References None_t, Numeric_t, operator<<(), Tensor3_t, and Vector_t.
|
inline |
Definition at line 93 of file energylevelmap.h.
Referenced by AtmFieldsCalcExpand1D(), EnergyLevelMap(), nlteSetByQuantumIdentifiers(), and xml_read_from_stream().
|
inlinenoexcept |
Energy level type.
Definition at line 122 of file energylevelmap.h.
Referenced by AtmFieldsCalc(), AtmFieldsCalcExpand1D(), operator<<(), xml_read_from_stream(), and xml_write_to_stream().
|
inlinenoexcept |
Energy level type.
Definition at line 134 of file energylevelmap.h.
|
inlinenoexcept |
Energy level type.
Definition at line 156 of file energylevelmap.h.
|
inlinestaticnoexcept |
Definition at line 149 of file energylevelmap.h.
References None_t, Numeric_t, stdarrayify(), Tensor3_t, and Vector_t.
|
private |
Definition at line 63 of file energylevelmap.h.
Referenced by get_ratio_params(), get_vibtemp_params(), and InterpToGridPos().
|
private |
Definition at line 62 of file energylevelmap.h.
Referenced by get_ratio_params(), get_vibtemp_params(), InterpToGridPos(), operator()(), and operator[]().
|
private |
Definition at line 65 of file energylevelmap.h.
Referenced by EnergyLevelMap(), get_ratio_params(), get_vibtemp_params(), InterpToGridPos(), operator()(), and operator[]().
|
private |
Definition at line 64 of file energylevelmap.h.
Referenced by get_vibtemp_params().