ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
cal_dos.h
Go to the documentation of this file.
1#ifndef DOS_H
2#define DOS_H
3
4#include<vector>
7
8namespace ModuleIO
9{
10
11 void prepare_dos(std::ofstream& ofs_running,
12 const elecstate::efermi &energy_fermi,
13 const ModuleBase::matrix& ekb,
14 const int nks,
15 const int nbands,
16 const double& dos_edelta_ev,
17 const double& dos_scale,
18 double &emax,
19 double &emin);
20
21 bool cal_dos(const int &is,
22 const std::string &fn,// file address for DOS.
23 const double &de_ev, // delta energy in ev.
24 const double &emax_ev,// maximal energy in ev.
25 const double &emin_ev,// minimal energy in ev.
26 const double &bcoeff,
27 const int &nks,//number of k points
28 const int &nkstot,
29 const std::vector<double> &wk,//weight of k points
30 const std::vector<int> &isk,
31 const int &nbands,// number of bands
32 const ModuleBase::matrix &ekb, //store energy for each k point and each band
33 const ModuleBase::matrix &wg); //weight of (kpoint,bands))
34
35
36}
37
38#endif
Definition matrix.h:19
This file contains all energies about first-principle calculations.
This class has two functions: restart psi from the previous calculation, and write psi to the disk.
Definition cal_dos.h:9
bool cal_dos(const int &is, const std::string &fn, const double &de_ev, const double &emax_ev, const double &emin_ev, const double &bcoeff, const int &nks, const int &nkstot, const std::vector< double > &wk, const std::vector< int > &isk, const int &nbands, const ModuleBase::matrix &ekb, const ModuleBase::matrix &wg)
Definition cal_dos.cpp:91
void prepare_dos(std::ofstream &ofs_running, const elecstate::efermi &energy_fermi, const ModuleBase::matrix &ekb, const int nks, const int nbands, const double &dos_edelta_ev, const double &dos_scale, double &emax, double &emin)
Definition cal_dos.cpp:9
Fermi energies.
Definition fp_energy.h:63