ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
write_bands.h
Go to the documentation of this file.
1#ifndef WRITE_BANDS_H
2#define WRITE_BANDS_H
3
6#include "source_cell/klist.h"
7
8#include <fstream>
9
10namespace ModuleIO
11{
12
13
28void write_bands(const Input_para& inp,
29 const ModuleBase::matrix& ekb,
30 const K_Vectors& kv,
31 std::ofstream& ofs_running,
32 const std::string& band_dir,
33 const int istep);
34
49void nscf_bands(const int& is,
50 const std::string &eig_file,
51 const int& nband,
52 const double& fermie,
53 const int& precision,
54 const ModuleBase::matrix& ekb,
55 const K_Vectors& kv,
56 const std::string& header,
57 const int out_app_flag);
58}
59
60#endif
Internal helpers shared by the R-space sparse text writers. Declared here (instead of duplicated in e...
Definition csr_reader.cpp:8
void 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
Definition write_bands.cpp:92
void 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....
Definition write_bands.cpp:40