ampsci
c++ program for high-precision atomic structure calculations of single-valence systems
|
Very basic two-electron CSF. Only two-electron is implemented. More...
#include <CSF.hpp>
Public Member Functions | |
CSF2 (const DiracSpinor &a, const DiracSpinor &b) | |
DiracSpinor::Index | state (std::size_t i) const |
int | parity () const |
Parity of the CSF, +/-1. | |
std::string | config (bool relativistic=false) const |
Single-particle configuration as a string, in relativistic or non-rel form. | |
Static Public Member Functions | |
static int | num_different (const CSF2 &A, const CSF2 &B) |
Returns number of different orbitals between two CSFs. | |
static std::array< DiracSpinor::Index, 2 > | diff_1_na (const CSF2 &V, const CSF2 &X) |
returns different orbitals, for case where CSFs differ by 1. i.e., returns {n,a} where |V> = |X_a^n> (i.e., V has n, but not a) | |
static DiracSpinor::Index | same_1_j (const CSF2 &A, const CSF2 &B) |
Returns the state in A and B that is the same (assumes A and B differ by 1) | |
Public Attributes | |
std::array< DiracSpinor::Index, 2 > | states |
Friends | |
bool | operator== (const CSF2 &A, const CSF2 &B) |
bool | operator!= (const CSF2 &A, const CSF2 &B) |
Very basic two-electron CSF. Only two-electron is implemented.