1#ifndef CAL_NELEC_NBAND_H
2#define CAL_NELEC_NBAND_H
15 void cal_nelec(
const Atom* atoms,
const int& ntype,
double& nelec,
const double nelec_delta);
38 int cal_nlocal(
const Atom* atoms,
const int ntype,
const int nspin);
62 void cal_nbands(
const int& nelec,
const int& nlocal,
const std::vector<double>& nelec_spin,
int& nbands,
63 const std::string& esolver_type,
const bool lspinorb,
const int nspin,
64 const std::string& basis_type,
const std::string& smearing_method);
Atom class for storing atom information.
Free functions for extracting atom/orbital info from Atom array.
Definition bcast_cell.cpp:8
void cal_nelec(const Atom *atoms, const int &ntype, double &nelec, const double nelec_delta)
calculate the total number of electrons in system
Definition cal_nelec_nband.cpp:29
void 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.
Definition cal_nelec_nband.cpp:61
int cal_nlocal(const Atom *atoms, const int ntype, const int nspin)
Calculate the total number of local numerical atomic orbitals.
Definition cal_nelec_nband.cpp:11