Go to the documentation of this file.
65 QuantumContainer::const_iterator it =
mqnumbers.find(qn);
#define RATIONAL_UNDEFINED
Container class for Quantum Numbers.
QuantumNumbers mqn_upper
Upper state quantum numbers.
const QuantumContainer & GetNumbers() const
Contains the rational class definition.
QuantumIds
Enum for Quantum Numbers used for indexing.
std::map< Index, Rational > QuantumContainer
Rational Upper(Index i) const
Get upper quantum number.
QuantumNumbers & Upper()
Get upper quantum numbers.
QuantumNumbers & Lower()
Get lower quantum numbers.
Rational Lower(Index i) const
Get lower quantum number.
const Rational operator[](const Index qn) const
Return copy of quantum number.
std::ostream & operator<<(std::ostream &os, const QuantumNumbers &qn)
std::istream & operator>>(std::istream &is, QuantumNumbers &qn)
const QuantumNumbers & Upper() const
Get upper quantum numbers.
QuantumContainer mqnumbers
Record containing upper and lower quantum numbers.
void SetLower(const Index i, const Rational r)
Set lower quantum number.
bool Compare(const QuantumNumbers &qn) const
Compare Quantum Numbers.
void SetUpper(const Index i, const Rational r)
Set upper quantum number.
INDEX Index
The type to use for all integer numbers and indices.
void Set(Index qn, Rational r)
Set quantum number.
QuantumNumbers mqn_lower
Lower state quantum numbers.
const QuantumNumbers & Lower() const
Get lower quantum numbers.