ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
write_bands.h File Reference
Include dependency graph for write_bands.h:
This graph shows which files directly or indirectly include this file:

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

void ModuleIO::write_bands (const Input_para &inp, const ModuleBase::matrix &ekb, const K_Vectors &kv, std::ofstream &ofs_running, const std::string &band_dir, const int istep)
 write the eigenvalues of every spin channel to band.txt (nspin=1/4) or to bands1.txt/bands2.txt (nspin=2).
void ModuleIO::nscf_bands (const int &is, const std::string &eig_file, const int &nband, const double &fermie, const int &precision, const ModuleBase::matrix &ekb, const K_Vectors &kv, const std::string &header, const int out_app_flag)
 calculate the band structure