ARTS
2.4.0(git:4fb77825)
|
#include <zeemandata.h>
Public Member Functions | |
constexpr | Model (SplittingData gs={NAN, NAN}) noexcept |
Default copy/init of Model from its only private variable. More... | |
Model (const QuantumIdentifier &qid) noexcept | |
Attempts to compute Zeeman input if available. More... | |
bool | empty () const noexcept |
Returns true if the Model represents no Zeeman effect. More... | |
Numeric & | gu () noexcept |
Returns the upper state g. More... | |
Numeric & | gl () noexcept |
Returns the lower state g. More... | |
void | gu (Numeric x) noexcept |
Sets the upper state g. More... | |
void | gl (Numeric x) noexcept |
Sets the lower state g. More... | |
constexpr Numeric | gu () const noexcept |
Returns the upper state g. More... | |
constexpr Numeric | gl () const noexcept |
Returns the lower state g. More... | |
Numeric | Strength (Rational Ju, Rational Jl, Polarization type, Index n) const |
Gives the strength of one subline of a given polarization. More... | |
constexpr Numeric | Splitting (Rational Ju, Rational Jl, Polarization type, Index n) const noexcept |
Gives the splitting of one subline of a given polarization. More... | |
Private Attributes | |
SplittingData | mdata |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Model &m) |
Output operator for Zeeman::Model. More... | |
std::istream & | operator>> (std::istream &is, Model &m) |
Input operator for Zeeman::Model. More... | |
std::ostream & | operator<< (bofstream &bof, const Model &m) |
Output operator for Zeeman::Model. More... | |
std::istream & | operator>> (bifstream &bif, Model &m) |
Input operator for Zeeman::Model. More... | |
This model contains the splitting coefficients of an energy level. Various detailed and simplified initialization routines are defined. Is also used as the interface for all Zeeman computations
Definition at line 358 of file zeemandata.h.
|
inlineconstexprnoexcept |
Default copy/init of Model from its only private variable.
Definition at line 364 of file zeemandata.h.
|
explicitnoexcept |
Attempts to compute Zeeman input if available.
Will first attempt advanced initialization from specialized functions for special species. If this fails, will attempt simple initialization from pure Hund-cases. If this fails, will throw a runtime_error.
[in] | qid | Transition type quantum id |
Definition at line 211 of file zeemandata.cc.
References empty(), Zeeman::GetAdvancedModel(), and Zeeman::GetSimpleModel().
|
inlinenoexcept |
Returns true if the Model represents no Zeeman effect.
Definition at line 379 of file zeemandata.h.
References Zeeman::SplittingData::gl, Zeeman::SplittingData::gu, and mdata.
Referenced by Model().
|
inlineconstexprnoexcept |
Returns the lower state g.
Definition at line 399 of file zeemandata.h.
References Zeeman::SplittingData::gl, and mdata.
|
inlinenoexcept |
Returns the lower state g.
Definition at line 387 of file zeemandata.h.
References Zeeman::SplittingData::gl, and mdata.
Referenced by test_zeeman().
|
inlinenoexcept |
Sets the lower state g.
Definition at line 393 of file zeemandata.h.
References Zeeman::SplittingData::gl, mdata, and ARTS::Var::x().
|
inlineconstexprnoexcept |
Returns the upper state g.
Definition at line 396 of file zeemandata.h.
References Zeeman::SplittingData::gu, and mdata.
|
inlinenoexcept |
Returns the upper state g.
Definition at line 384 of file zeemandata.h.
References Zeeman::SplittingData::gu, and mdata.
|
inlinenoexcept |
Sets the upper state g.
Definition at line 390 of file zeemandata.h.
References Zeeman::SplittingData::gu, mdata, and ARTS::Var::x().
|
inlineconstexprnoexcept |
Gives the splitting of one subline of a given polarization.
The user has to ensure that Ju and Jl is a valid transition
The user has to ensure n is less than the number of elements
[in] | Ju | J of the upper state |
[in] | Jl | J of the upper state |
[in] | type | The polarization type |
[in] | n | The position |
Definition at line 436 of file zeemandata.h.
|
inline |
Gives the strength of one subline of a given polarization.
The user has to ensure that Ju and Jl is a valid transition
The user has to ensure n is less than the number of elements
[in] | Ju | J of the upper state |
[in] | Jl | J of the upper state |
[in] | type | The polarization type |
[in] | n | The position |
Definition at line 414 of file zeemandata.h.
References Zeeman::dM(), Zeeman::Ml(), Zeeman::Mu(), Zeeman::PolarizationFactor(), Constant::pow2(), and wigner3j().
Output operator for Zeeman::Model.
Definition at line 493 of file zeemandata.h.
|
friend |
Output operator for Zeeman::Model.
Definition at line 483 of file zeemandata.h.
Input operator for Zeeman::Model.
Definition at line 498 of file zeemandata.h.
|
friend |
Input operator for Zeeman::Model.
Definition at line 488 of file zeemandata.h.
|
private |
Definition at line 360 of file zeemandata.h.
Referenced by empty(), gl(), gu(), Zeeman::operator<<(), and Zeeman::operator>>().