ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
elecstate_tools.h
Go to the documentation of this file.
1#ifndef ELECSTATE_TOOLS_H
2#define ELECSTATE_TOOLS_H
3#include "elecstate.h"
5
6namespace elecstate
7{
8void calEBand(const ModuleBase::matrix& ekb, const ModuleBase::matrix& wg, fenergy& f_en);
9
10void calculate_weights(const ModuleBase::matrix& ekb,
11 ModuleBase::matrix& wg,
12 const K_Vectors* klist,
13 Efermi& eferm,
14 fenergy& f_en,
15 std::vector<double>& nelec_spin,
16 const int global_nbands,
17 const bool skip_weights);
18
19void fixed_weights(const std::vector<double>& ocp_kb,
20 const int& nbands,
21 const double& nelec,
22 const K_Vectors* klist,
23 ModuleBase::matrix& wg,
24 bool& skip_weights);
25} // namespace elecstate
26
27#endif
Definition read_atoms_hlp_test.cpp:13
void calculate_weights(const ModuleBase::matrix &ekb, ModuleBase::matrix &wg, const K_Vectors *klist, Efermi &eferm, fenergy &f_en, std::vector< double > &nelec_spin, const int global_nbands, const bool skip_weights)
Definition elecstate_tools.cpp:37
void calEBand(const ModuleBase::matrix &ekb, const ModuleBase::matrix &wg, fenergy &f_en)
Definition elecstate_tools.cpp:12
void fixed_weights(const std::vector< double > &ocp_kb, const int &nbands, const double &nelec, const K_Vectors *klist, ModuleBase::matrix &wg, bool &skip_weights)
Definition elecstate_tools.cpp:138
Definition fp_energy.h:65
Definition fp_energy.h:17