1#ifndef CAL_NELEC_NBAND_H
2#define CAL_NELEC_NBAND_H
15 void cal_nelec(
const Atom* atoms,
const int& ntype,
double& nelec);
25 void cal_nbands(
const int& nelec,
const int& nlocal,
const std::vector<double>& nelec_spin,
int& nbands);
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