ARTS  2.2.66
quantum.h File Reference

Classes to handle quantum numbers. More...

#include <map>
#include <iostream>
#include "matpack.h"
#include "rational.h"

Go to the source code of this file.

Classes

class  QuantumNumbers
 Container class for Quantum Numbers. More...
 
class  QuantumNumberRecord
 Record containing upper and lower quantum numbers. More...
 

Enumerations

enum  QuantumIds {
  QN_J, QN_N, QN_S, QN_F,
  QN_Omega, QN_K1, QN_K2, QN_v1,
  QN_v2, QN_v3, QN_FINAL_ENTRY
}
 Enum for Quantum Numbers used for indexing. More...
 

Functions

std::istream & operator>> (std::istream &is, QuantumNumbers &qn)
 
std::ostream & operator<< (std::ostream &os, const QuantumNumbers &qn)
 
std::ostream & operator<< (std::ostream &os, const QuantumNumberRecord &qr)
 

Detailed Description

Classes to handle quantum numbers.

Author
Oliver Lemke

Definition in file quantum.h.

Enumeration Type Documentation

◆ QuantumIds

enum QuantumIds

Enum for Quantum Numbers used for indexing.

Enumerator
QN_J 
QN_N 
QN_S 
QN_F 
QN_Omega 
QN_K1 
QN_K2 
QN_v1 
QN_v2 
QN_v3 
QN_FINAL_ENTRY 

Definition at line 41 of file quantum.h.

Function Documentation

◆ operator<<() [1/2]

std::ostream& operator<< ( std::ostream &  os,
const QuantumNumberRecord qr 
)

Definition at line 117 of file quantum.cc.

References QuantumNumberRecord::Lower(), and QuantumNumberRecord::Upper().

◆ operator<<() [2/2]

std::ostream& operator<< ( std::ostream &  os,
const QuantumNumbers qn 
)

Definition at line 93 of file quantum.cc.

References N, and OUTPUT_QUANTUM.

◆ operator>>()

std::istream& operator>> ( std::istream &  is,
QuantumNumbers qn 
)

Definition at line 60 of file quantum.cc.

References INPUT_QUANTUM, and N.