ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
spectrum_mo.h File Reference
#include <complex>
#include <string>
#include <vector>
#include "source_psi/psi.h"
Include dependency graph for spectrum_mo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  LR_Util

Functions

template<typename T>
std::vector< std::complex< double > > LR_Util::cal_velocity_mo (const UnitCell &ucell, const Grid_Driver &gd, const TwoCenterBundle &two_center_bundle, const Parallel_Orbitals &pmat, const Parallel_Blkcyclic &pc, const K_Vectors &kv, const psi::Psi< T > &psi_ks, const int nk, const int nspin_tmp, const int nbasis, const std::vector< int > nocc, const std::vector< int > nvirt)
 Compute C^dagger v C for the selected KS window; return replicated spin/cartesian/k blocks.
void LR_Util::output_spectrum_mo (const std::vector< std::complex< double > > &out_spectrum_mo, const std::string &filename, const double *const eig_ks, const int nk, const int nspin_tmp, const int KS_num, const K_Vectors &kv)
 output the velocity matrix in KS presentation in human-read friendly format
void LR_Util::output_spectrum_mo_librpa (const std::vector< std::complex< double > > &out_spectrum_mo, const std::string &filename, const int nk, const int nspin_tmp, const int nbands, const int nbasis, const int KS_num)
 output the velocity matrix in KS presentation in LibRPA format