ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
cal_nelec_nband.h
Go to the documentation of this file.
1#ifndef CAL_NELEC_NBAND_H
2#define CAL_NELEC_NBAND_H
3
5
6namespace elecstate {
7
15 void cal_nelec(const Atom* atoms, const int& ntype, double& nelec);
16
25 void cal_nbands(const int& nelec, const int& nlocal, const std::vector<double>& nelec_spin, int& nbands);
26
27}
28
29#endif
Definition atom_spec.h:7
Definition cal_dm.h:10
void cal_nbands(const int &nelec, const int &nlocal, const std::vector< double > &nelec_spin, int &nbands)
Calculate the number of bands.
Definition cal_nelec_nband.cpp:39
void cal_nelec(const Atom *atoms, const int &ntype, double &nelec)
calculate the total number of electrons in system
Definition cal_nelec_nband.cpp:7