|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include "source_psi/psi.h"#include "source_cell/unitcell.h"#include "source_cell/klist.h"#include "source_estate/module_pot/potential_new.h"#include "source_pw/module_pwdft/op_pw_veff.h"#include <complex>#include <string>#include <vector>Go to the source code of this file.
Namespaces | |
| namespace | ModuleIO |
| Internal helpers shared by the R-space sparse text writers. Declared here (instead of duplicated in each anonymous namespace) so the header layout, R records and file-append rules cannot diverge between hs_sparse_io.cpp, dhs_sparse_writer.cpp, pos_op_csr.cpp, hsr_writer.cpp and write_dmr.cpp. | |
Functions | |
| template<typename FPTYPE> | |
| void | ModuleIO::write_Vxc_LIP (int nspin, const int istep, const double etot, int naos, int drank, const psi::Psi< std::complex< FPTYPE > > &psi_pw, const UnitCell &ucell, Structure_Factor &sf, surchem &solvent, const ModulePW::PW_Basis_K &wfc_basis, const ModulePW::PW_Basis &rho_basis, const ModulePW::PW_Basis &rhod_basis, const ModuleBase::matrix &vloc, const Charge &chg, const K_Vectors &kv, const ModuleBase::matrix &wg, const bool gamma_only, const std::string &global_out_dir, const int out_ndigits, const std::string &ks_solver, bool cal_exx, double hybrid_alpha) |
| Write the Vxc matrix in KS orbital representation for LIP (LCAO-in-PW), useful for GW calculation including terms: local/semi-local XC and EXX. The band-decomposed diagonal energies (eband_vxc.txt and, with EXX, eband_vxc_local.txt and eband_vxc_exx.txt) are written to global_out_dir. | |