ARTS 2.5.11 (git: 725533f0)
Quantum::Number::StateMatch Struct Reference

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}
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ StateMatch() [1/3]

constexpr Quantum::Number::StateMatch::StateMatch ( )
constexprdefault

◆ StateMatch() [2/3]

◆ StateMatch() [3/3]

Member Function Documentation

◆ operator!=()

constexpr bool Quantum::Number::StateMatch::operator!= ( StateMatchType  x) const
inlineconstexprnoexcept

Definition at line 1110 of file quantum_numbers.h.

◆ operator==()

constexpr bool Quantum::Number::StateMatch::operator== ( StateMatchType  x) const
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.

Member Data Documentation

◆ low

bool Quantum::Number::StateMatch::low {false}

Definition at line 1095 of file quantum_numbers.h.

Referenced by StateMatch(), and StateMatch().

◆ type

StateMatchType Quantum::Number::StateMatch::type {StateMatchType::None}

Definition at line 1094 of file quantum_numbers.h.

Referenced by StateMatch(), and StateMatch().

◆ upp

bool Quantum::Number::StateMatch::upp {false}

Definition at line 1095 of file quantum_numbers.h.

Referenced by StateMatch(), and StateMatch().


The documentation for this struct was generated from the following files: