ARTS 2.5.11 (git: 6827797f)
|
#include <energylevelmap.h>
Public Member Functions | |
bool | OK () const ARTS_NOEXCEPT |
void | ThrowIfNotOK () const ARTS_NOEXCEPT |
EnergyLevelMap () | |
EnergyLevelMap (EnergyLevelMapType new_type, Index pages, Index rows, Index cols, const EnergyLevelMap &old) | |
EnergyLevelMap (Tensor4 data, ArrayOfQuantumIdentifier levels, Vector energies=Vector(0)) | |
EnergyLevelMap (const Matrix &data, ArrayOfQuantumIdentifier levels, Vector energies=Vector(0)) | |
EnergyLevelMap (const Vector &data, ArrayOfQuantumIdentifier levels, 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 |
Output2 | get_ratio_params (const AbsorptionLines &band, const Index &line_index) const |
Get the output required for Population::NLTE. | |
Output4 | get_vibtemp_params (const AbsorptionLines &band, const Numeric T) const |
Get the output required for Population::NLTE-VibrationalTemperatures. | |
Public Attributes | |
EnergyLevelMapType | type {EnergyLevelMapType::None_t} |
ArrayOfQuantumIdentifier | levels |
Vector | vib_energy |
Tensor4 | value |
Friends | |
std::ostream & | operator<< (std::ostream &os, const EnergyLevelMap &elm) |
Definition at line 71 of file energylevelmap.h.
|
inline |
Definition at line 81 of file energylevelmap.h.
Referenced by operator()().
|
inline |
Definition at line 84 of file energylevelmap.h.
References ThrowIfNotOK().
EnergyLevelMap::EnergyLevelMap | ( | Tensor4 | data, |
ArrayOfQuantumIdentifier | levels, | ||
Vector | energies = Vector(0) |
||
) |
Definition at line 104 of file energylevelmap.cc.
References ThrowIfNotOK().
EnergyLevelMap::EnergyLevelMap | ( | const Matrix & | data, |
ArrayOfQuantumIdentifier | levels, | ||
Vector | energies = Vector(0) |
||
) |
Definition at line 113 of file energylevelmap.cc.
References ThrowIfNotOK(), and value.
EnergyLevelMap::EnergyLevelMap | ( | const Vector & | data, |
ArrayOfQuantumIdentifier | levels, | ||
Vector | energies = Vector(0) |
||
) |
Definition at line 123 of file energylevelmap.cc.
References ThrowIfNotOK(), and value.
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 40 of file energylevelmap.cc.
References ARTS_USER_ERROR_IF, levels, Absorption::Lines::lines, Absorption::Lines::quantumidentity, type, and value.
Output4 EnergyLevelMap::get_vibtemp_params | ( | const AbsorptionLines & | band, |
const Numeric | T | ||
) | const |
Get the output required for Population::NLTE-VibrationalTemperatures.
[in] | transition | A line-by-line transition |
Definition at line 71 of file energylevelmap.cc.
References ARTS_USER_ERROR_IF, levels, Array< base >::nelem(), Absorption::Lines::quantumidentity, type, value, and vib_energy.
EnergyLevelMap EnergyLevelMap::InterpToGridPos | ( | Index | atmosphere_dim, |
const ArrayOfGridPos & | p, | ||
const ArrayOfGridPos & | lat, | ||
const ArrayOfGridPos & | lon | ||
) | const |
Definition at line 133 of file energylevelmap.cc.
References ARTS_USER_ERROR_IF, interp_atmfield_by_itw(), interp_atmfield_gp2itw(), levels, Array< base >::nelem(), type, and value.
Referenced by get_ppath_atmvars().
bool EnergyLevelMap::OK | ( | ) | const |
Definition at line 13 of file energylevelmap.cc.
References levels, Array< base >::nelem(), type, value, and vib_energy.
Referenced by ThrowIfNotOK().
EnergyLevelMap EnergyLevelMap::operator() | ( | Index | ip, |
Index | ilat, | ||
Index | ilon | ||
) | const |
Definition at line 176 of file energylevelmap.cc.
References ARTS_USER_ERROR_IF, EnergyLevelMap(), type, and value.
EnergyLevelMap EnergyLevelMap::operator[] | ( | Index | ip | ) | const |
Definition at line 152 of file energylevelmap.cc.
References ARTS_USER_ERROR_IF, type, and value.
|
inline |
Definition at line 79 of file energylevelmap.h.
References ARTS_ASSERT, and OK().
Referenced by abs_lines_per_speciesPopulationNlteField(), AtmFieldsCalc(), AtmFieldsCalcExpand1D(), EnergyLevelMap(), and xml_read_from_stream().
|
friend |
Definition at line 169 of file energylevelmap.cc.
ArrayOfQuantumIdentifier EnergyLevelMap::levels |
Definition at line 73 of file energylevelmap.h.
Referenced by abs_lines_per_speciesPopulationNlteField(), AtmFieldsCalc(), AtmFieldsCalcExpand1D(), get_ratio_params(), get_vibtemp_params(), InterpToGridPos(), nlte_fieldForSingleSpeciesNonOverlappingLines(), nlte_positions_in_statistical_equilibrium_matrix(), OK(), xml_read_from_stream(), and xml_write_to_stream().
EnergyLevelMapType EnergyLevelMap::type {EnergyLevelMapType::None_t} |
Definition at line 72 of file energylevelmap.h.
Referenced by AtmFieldsCalc(), AtmFieldsCalcExpand1D(), get_ratio_params(), get_vibtemp_params(), InterpToGridPos(), OK(), operator()(), operator[](), xml_read_from_stream(), and xml_write_to_stream().
Tensor4 EnergyLevelMap::value |
Definition at line 75 of file energylevelmap.h.
Referenced by abs_lines_per_speciesPopulationNlteField(), AtmFieldsCalc(), AtmFieldsCalcExpand1D(), EnergyLevelMap(), get_ratio_params(), get_vibtemp_params(), InterpToGridPos(), iyIndependentBeamApproximation(), nlte_fieldForSingleSpeciesNonOverlappingLines(), nlte_fieldRescalePopulationLevels(), OK(), operator()(), operator[](), propmat_clearskyAddLines(), xml_read_from_stream(), xml_write_to_stream(), and zeeman_on_the_fly().
Vector EnergyLevelMap::vib_energy |
Definition at line 74 of file energylevelmap.h.
Referenced by abs_lines_per_speciesPopulationNlteField(), AtmFieldsCalc(), AtmFieldsCalcExpand1D(), get_vibtemp_params(), OK(), xml_read_from_stream(), and xml_write_to_stream().