|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include <fstream>#include <string>#include <vector>#include "source_basis/module_ao/parallel_orbitals.h"#include "source_hamilt/hamilt.h"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 T> | |
| void | ModuleIO::write_hsk (const std::string &global_out_dir, const int nspin, const int nks, const int nkstot, const std::vector< int > &ik2iktot, const std::vector< int > &isk, hamilt::Hamilt< T > *p_hamilt, const Parallel_Orbitals &pv, const K_Vectors &kv, const UnitCell *ucell, const std::vector< double > &efs, const bool gamma_only, const int out_app_flag, const int istep, const int out_type, const int precision, const int nlocal, const std::string &ks_solver, const int drank, std::ofstream &ofs_running) |
| Write H(k) and S(k) matrices for each k-point to disk. | |