|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
Implementation of electron and band calculation functions. More...
#include "cal_nelec_nband.h"#include "source_base/constants.h"#include "source_base/global_variable.h"Namespaces | |
| namespace | unitcell |
| Free functions for extracting atom/orbital info from Atom array. | |
Functions | |
| int | unitcell::cal_nlocal (const Atom *atoms, const int ntype, const int nspin) |
| Calculate the total number of local numerical atomic orbitals. | |
| void | unitcell::cal_nelec (const Atom *atoms, const int &ntype, double &nelec, const double nelec_delta) |
| calculate the total number of electrons in system | |
| void | unitcell::cal_nbands (const int &nelec, const int &nlocal, const std::vector< double > &nelec_spin, int &nbands, const std::string &esolver_type, const bool lspinorb, const int nspin, const std::string &basis_type, const std::string &smearing_method) |
| Calculate the number of bands. | |
Implementation of electron and band calculation functions.