#include <lr_density.h>
|
| | LR_Density (const UnitCell &ucell, const K_Vectors &kv, const Grid_Driver &gd, const psi::Psi< T > &psi_ks, const std::vector< double > &orb_cutoff, const Parallel_Grid &pgrid, const int &nspin, const std::vector< int > &nocc, const std::vector< int > &nvirt, const int &nao, const std::vector< Parallel_Blkcyclic > &pX, const Parallel_Blkcyclic &pc, const Parallel_Orbitals &pmat, const bool openshell, const int output_precision, const std::string &output_directory) |
| void | cal_eh_density_single_state (const T *const X_istate, const int ispin, double **density) |
| | calculate the electron density from the density matrix in 2d-block distribution
|
| void | write_density_single_state (const double *const *const density, const std::string &filepath, std::ofstream &ofs_running) |
| void | output_eh_density_all_states (const T *const X, const int ispin, const int nstate, const std::string &channel_label, std::ofstream &ofs_running) |
◆ LR_Density()
| LR::LR_Density< T >::LR_Density |
( |
const UnitCell & | ucell, |
|
|
const K_Vectors & | kv, |
|
|
const Grid_Driver & | gd, |
|
|
const psi::Psi< T > & | psi_ks, |
|
|
const std::vector< double > & | orb_cutoff, |
|
|
const Parallel_Grid & | pgrid, |
|
|
const int & | nspin, |
|
|
const std::vector< int > & | nocc, |
|
|
const std::vector< int > & | nvirt, |
|
|
const int & | nao, |
|
|
const std::vector< Parallel_Blkcyclic > & | pX, |
|
|
const Parallel_Blkcyclic & | pc, |
|
|
const Parallel_Orbitals & | pmat, |
|
|
const bool | openshell, |
|
|
const int | output_precision, |
|
|
const std::string & | output_directory ) |
◆ cal_eh_density_single_state()
| void LR::LR_Density< T >::cal_eh_density_single_state |
( |
const T *const | X_istate, |
|
|
const int | ispin, |
|
|
double ** | density ) |
calculate the electron density from the density matrix in 2d-block distribution
◆ dm_to_density() [1/2]
◆ dm_to_density() [2/2]
◆ output_eh_density_all_states()
| void LR::LR_Density< T >::output_eh_density_all_states |
( |
const T *const | X, |
|
|
const int | ispin, |
|
|
const int | nstate, |
|
|
const std::string & | channel_label, |
|
|
std::ofstream & | ofs_running ) |
◆ write_density_single_state()
| void LR::LR_Density< T >::write_density_single_state |
( |
const double *const *const | density, |
|
|
const std::string & | filepath, |
|
|
std::ofstream & | ofs_running ) |
◆ gd_
◆ global_out_dir_
◆ kv_
◆ nao_
◆ nk_
◆ nocc_
◆ nspin_
◆ nvirt_
◆ openshell_
◆ orb_cutoff_
◆ out_chg_precision_
cached aliases, read once here instead of at every call site below
◆ pc_
◆ pgrid_
◆ pmat_
◆ psi_ks_
◆ pX_
◆ ucell_
The documentation for this class was generated from the following files:
- /home/runner/work/abacus-develop/abacus-develop/source/source_lcao/module_lr/lr_density.h
- /home/runner/work/abacus-develop/abacus-develop/source/source_lcao/module_lr/lr_density.cpp