ARTS
2.4.0(git:4fb77825)
|
Compute the line shape parameters for a single broadening species. More...
#include <lineshapemodel.h>
Public Member Functions | |
constexpr | SingleSpeciesModel (ModelParameters G0=ModelParameters{}, ModelParameters D0=ModelParameters{}, ModelParameters G2=ModelParameters{}, ModelParameters D2=ModelParameters{}, ModelParameters FVC=ModelParameters{}, ModelParameters ETA=ModelParameters{}, ModelParameters Y=ModelParameters{}, ModelParameters G=ModelParameters{}, ModelParameters DV=ModelParameters{}) |
Default initialization. More... | |
Numeric | compute (Numeric T, Numeric T0, Variable var) const noexcept |
Compute the broadening parameter at the input. More... | |
Numeric | compute_dX0 (Numeric T, Numeric T0, Variable var) const noexcept |
Derivative of compute(...) wrt x0. More... | |
Numeric | compute_dX1 (Numeric T, Numeric T0, Variable var) const noexcept |
Derivative of compute(...) wrt x1. More... | |
Numeric | compute_dX2 (Numeric T, Numeric T0, Variable var) const noexcept |
Derivative of compute(...) wrt x2. More... | |
Numeric | compute_dX3 (Numeric T, Numeric T0, Variable var) const noexcept |
Derivative of compute(...) wrt x3. More... | |
Numeric | compute_dT (Numeric T, Numeric T0, Variable var) const noexcept |
Derivative of compute(...) wrt T. More... | |
Numeric | compute_dT0 (Numeric T, Numeric T0, Variable var) const noexcept |
Derivative of compute(...) wrt T0. More... | |
ACCESS_INTERNAL (G0) | |
ACCESS_INTERNAL (D0) | |
ACCESS_INTERNAL (G2) | |
ACCESS_INTERNAL (D2) | |
ACCESS_INTERNAL (FVC) | |
ACCESS_INTERNAL (ETA) | |
ACCESS_INTERNAL (Y) | |
ACCESS_INTERNAL (G) | |
ACCESS_INTERNAL (DV) | |
std::array< ModelParameters, nVars > & | Data () noexcept |
Get internal Data reference. More... | |
const std::array< ModelParameters, nVars > & | Data () const noexcept |
Get const internal Data reference. More... | |
void | Set (Variable var, const ModelParameters &x) noexcept |
Set variable to a different ModelParameters. More... | |
ModelParameters | Get (Variable var) const noexcept |
Get variable by type. More... | |
bifstream & | read (bifstream &bif) |
Binary read for SingleSpeciesModel. More... | |
bofstream & | write (bofstream &bof) const |
Binary write for SingleSpeciesModel. More... | |
bool | MatchTypes (const SingleSpeciesModel &other) const noexcept |
Private Member Functions | |
constexpr Numeric | special_linemixing_aer (Numeric T, ModelParameters mp) const noexcept |
Line mixing as done by AER data in ARTS. More... | |
constexpr Numeric | special_linemixing_aer_dT (Numeric T, ModelParameters mp) const noexcept |
The temperature derivative of special_linemixing_aer. More... | |
Private Attributes | |
std::array< ModelParameters, nVars > | X |
Compute the line shape parameters for a single broadening species.
Definition at line 359 of file lineshapemodel.h.
|
inlineconstexpr |
Default initialization.
Definition at line 401 of file lineshapemodel.h.
LineShape::SingleSpeciesModel::ACCESS_INTERNAL | ( | D0 | ) |
LineShape::SingleSpeciesModel::ACCESS_INTERNAL | ( | D2 | ) |
LineShape::SingleSpeciesModel::ACCESS_INTERNAL | ( | DV | ) |
LineShape::SingleSpeciesModel::ACCESS_INTERNAL | ( | ETA | ) |
LineShape::SingleSpeciesModel::ACCESS_INTERNAL | ( | FVC | ) |
LineShape::SingleSpeciesModel::ACCESS_INTERNAL | ( | G | ) |
LineShape::SingleSpeciesModel::ACCESS_INTERNAL | ( | G0 | ) |
LineShape::SingleSpeciesModel::ACCESS_INTERNAL | ( | G2 | ) |
LineShape::SingleSpeciesModel::ACCESS_INTERNAL | ( | Y | ) |
|
inlinenoexcept |
Compute the broadening parameter at the input.
[in] | T | The temperature |
[in] | T0 | The temperature used to derive the coefficients |
[in] | var | The variable |
Definition at line 426 of file lineshapemodel.h.
|
inlinenoexcept |
Derivative of compute(...) wrt T.
[in] | T | The temperature |
[in] | T0 | The temperature used to derive the coefficients |
[in] | var | The variable |
Definition at line 606 of file lineshapemodel.h.
|
inlinenoexcept |
Derivative of compute(...) wrt T0.
[in] | T | The temperature |
[in] | T0 | The temperature used to derive the coefficients |
[in] | var | The variable |
Definition at line 644 of file lineshapemodel.h.
|
inlinenoexcept |
Derivative of compute(...) wrt x0.
[in] | T | The temperature |
[in] | T0 | The temperature used to derive the coefficients |
[in] | var | The variable |
Definition at line 462 of file lineshapemodel.h.
|
inlinenoexcept |
Derivative of compute(...) wrt x1.
[in] | T | The temperature |
[in] | T0 | The temperature used to derive the coefficients |
[in] | var | The variable |
Definition at line 498 of file lineshapemodel.h.
|
inlinenoexcept |
Derivative of compute(...) wrt x2.
[in] | T | The temperature |
[in] | T0 | The temperature used to derive the coefficients |
[in] | var | The variable |
Definition at line 534 of file lineshapemodel.h.
|
inlinenoexcept |
Derivative of compute(...) wrt x3.
[in] | T | The temperature |
[in] | T0 | The temperature used to derive the coefficients |
[in] | var | The variable |
Definition at line 570 of file lineshapemodel.h.
|
inlinenoexcept |
|
inlinenoexcept |
Get internal Data reference.
Definition at line 694 of file lineshapemodel.h.
References X.
Referenced by LineShape::operator<<(), and LineShape::operator>>().
|
inlinenoexcept |
Get variable by type.
[in] | var | The variable type |
Definition at line 729 of file lineshapemodel.h.
References LineShape::G0, MODELPARAMCASEGETTER, and linalg::var().
|
inlinenoexcept |
Definition at line 765 of file lineshapemodel.h.
References X.
Binary read for SingleSpeciesModel.
Definition at line 748 of file lineshapemodel.h.
References data, ARTS::Var::x(), and X.
|
inlinenoexcept |
Set variable to a different ModelParameters.
[in] | var | The variable |
[in] | x | The new ModelParameters for var |
Definition at line 704 of file lineshapemodel.h.
References LineShape::G0, MODELPARAMCASESETTER, and linalg::var().
|
inlineconstexprprivatenoexcept |
Line mixing as done by AER data in ARTS.
Uses piece-wise linear interpolation and extrapolates at the edges
var must be G or Y
[in] | T | The temperature |
[in] | var | The variable |
Definition at line 374 of file lineshapemodel.h.
|
inlineconstexprprivatenoexcept |
The temperature derivative of special_linemixing_aer.
[in] | T | The temperature |
[in] | var | The variable |
Definition at line 390 of file lineshapemodel.h.
Binary write for SingleSpeciesModel.
Definition at line 758 of file lineshapemodel.h.
|
private |
Definition at line 361 of file lineshapemodel.h.
Referenced by Data(), MatchTypes(), read(), and write().