ARTS 2.5.11 (git: 725533f0)
|
StateMatchType operates so that a check less than a level should be 'better', bar None. More...
#include <quantum_numbers.h>
Public Member Functions | |
constexpr | StateMatch ()=default |
StateMatch (const GlobalState &target, const LocalState &local, const GlobalState &global) | |
StateMatch (const GlobalState &target, const GlobalState &key) | |
constexpr bool | operator== (StateMatchType x) const noexcept |
It is of the desired type if it is less than the value, bar None. | |
constexpr bool | operator!= (StateMatchType x) const noexcept |
Public Attributes | |
StateMatchType | type {StateMatchType::None} |
bool | upp {false} |
bool | low {false} |
StateMatchType operates so that a check less than a level should be 'better', bar None.
StateMatch, where you need to check the upp and low values when manipulating energy levels
Definition at line 1093 of file quantum_numbers.h.
|
constexprdefault |
Quantum::Number::StateMatch::StateMatch | ( | const GlobalState & | target, |
const LocalState & | local, | ||
const GlobalState & | global | ||
) |
Definition at line 929 of file quantum_numbers.cc.
References Quantum::Number::ValueList::check_match(), Quantum::Number::GlobalState::isotopologue_index, low, Quantum::Number::GlobalState::Species(), type, Quantum::Number::CheckMatch::upp, upp, Quantum::Number::LocalState::val, and Quantum::Number::GlobalState::val.
Quantum::Number::StateMatch::StateMatch | ( | const GlobalState & | target, |
const GlobalState & | key | ||
) |
Definition at line 956 of file quantum_numbers.cc.
References Quantum::Number::ValueList::check_match(), Quantum::Number::GlobalState::isotopologue_index, low, Quantum::Number::GlobalState::Species(), type, upp, and Quantum::Number::GlobalState::val.
|
inlineconstexprnoexcept |
Definition at line 1110 of file quantum_numbers.h.
|
inlineconstexprnoexcept |
It is of the desired type if it is less than the value, bar None.
Definition at line 1106 of file quantum_numbers.h.
bool Quantum::Number::StateMatch::low {false} |
Definition at line 1095 of file quantum_numbers.h.
Referenced by StateMatch(), and StateMatch().
StateMatchType Quantum::Number::StateMatch::type {StateMatchType::None} |
Definition at line 1094 of file quantum_numbers.h.
Referenced by StateMatch(), and StateMatch().
bool Quantum::Number::StateMatch::upp {false} |
Definition at line 1095 of file quantum_numbers.h.
Referenced by StateMatch(), and StateMatch().