|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
Go to the source code of this file.
Namespaces | |
| namespace | ModulePW |
| 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_eband_terms (const int nspin, const int istep, const int out_app_flag, const double etot, const int my_rank, const int nbasis, const Parallel_Orbitals *pv, const psi::Psi< TK > &psi, 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 ModuleBase::matrix &wg, Grid_Driver &gd, const std::vector< double > &orb_cutoff, const LCAO_Orbitals &orb, const TwoCenterBundle &two_center_bundle, std::ofstream &ofs_running) |
| Write the band-decomposed energy of each Hamiltonian term (kinetic, local/nonlocal pp, Hartree) in KS orbital representation. The XC term is handled by write_Vxc from ctrl_scf_lcao.cpp instead. | |