|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include "source_lcao/module_operator_lcao/veff_lcao.h"#include "source_lcao/module_dftu/dftu_nao_op_legacy.h"#include "source_lcao/spar_hsr.h"#include "source_lcao/module_ri/abfs_vector3_order.h"#include "source_cell/unitcell.h"#include "source_cell/klist.h"#include "source_estate/module_pot/potential_new.h"#include "source_hamilt/module_xc/exx_info.h"#include <complex>#include <fstream>#include <map>#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 TK, typename TR> | |
| void | ModuleIO::write_Vxc_R (const int nspin, const Parallel_Orbitals *pv, const UnitCell &ucell, Structure_Factor &sf, surchem &solvent, const ModulePW::PW_Basis &rho_basis, const ModulePW::PW_Basis &rhod_basis, const ModuleBase::matrix &vloc, const Charge &chg, const K_Vectors &kv, const std::vector< double > &orb_cutoff, Grid_Driver &gd, const std::string &global_out_dir, bool cal_exx, double hybrid_alpha, bool real_number, const int istep, const double sparse_thr, const int precision, std::ofstream &ofs_running) |
| Write the Vxc matrix in real space (R), useful for GW calculation including terms: local/semi-local XC, EXX, DFTU The files are named vxcrs{spin}_nao.csr as a final-step snapshot; the spin index is one-based. | |