ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
grad_degen.cpp File Reference
#include "grad_degen.h"
#include <algorithm>
#include <cassert>
#include <cmath>
#include <numeric>
Include dependency graph for grad_degen.cpp:

Namespaces

namespace  LR

Functions

std::vector< std::vector< int > > LR::group_degenerate_states (const std::vector< double > &omega, const double thr)
 Split states into multiplets of (near-)degenerate excitation energies.
std::vector< std::pair< int, int > > LR::degenerate_pairs (const int d)
 The $(k,l)$, $k<l$ pairs of a $d$-dimensional multiplet, lexicographically.