|
| SphbesRadials () |
|
| SphbesRadials (const SphbesRadials &other) |
|
SphbesRadials & | operator= (const SphbesRadials &rhs) |
|
SphbesRadials * | clone () const |
| for polymorphic copy
|
|
| ~SphbesRadials () |
|
void | build (const std::string &file, const double dr=0.01, const int itype=0, std::ofstream *ptr_log=nullptr, const int rank=0) |
| Builds the class from a spherical Bessel coefficient file.
|
|
void | build (const int lmax, const int nbes, const double rcut, const double sigma, const double dr=0.01, const int itype=0, std::ofstream *ptr_log=nullptr, const int rank=0) |
| Builds the class with truncated spherical Bessel functions.
|
|
|
double | sigma () const |
|
double | dr () const |
|
std::vector< double > const & | coeff (const int l, const int izeta) const |
|
| RadialSet ()=default |
|
| RadialSet (const RadialSet &) |
| deep copy
|
|
RadialSet & | operator= (const RadialSet &) |
| deep copy
|
|
virtual | ~RadialSet () |
|
virtual void | to_numerical_orbital (Numerical_Orbital &, const int nk_legacy=4005, const double lcao_dk=0.01) const |
| Overwrites the content of a Numerical_Orbital object with the current object.
|
|
virtual void | build (const std::string &, const int=0, std::ofstream *const =nullptr, const int=0) |
| Builds the object from a file.
|
|
virtual void | build (const Numerical_Nonlocal &, const int=0, std::ofstream *const =nullptr) |
| Builds from a Numerical_Nonlocal object.
|
|
virtual void | build (const int=0, const double=1.0, const bool=false, const int=0, const double=10.0, const double=0.01, const double=1e-6, const int=0, const std::string="", const std::string="minimal-valence", std::ofstream *const =nullptr) |
| Builds from hydrogen-like radial functions.
|
|
virtual void | build (const std::string &, const int, const double, const double, std::ofstream *const =nullptr, const int=0) |
| Builds from pseudopotential file.
|
|
void | write_abacus_orb (const std::string &, const int=0) const |
| write any RadialSet object to a file in ABACUS numerical atomic orbital format.
|
|
const std::string & | symbol () const |
|
int | itype () const |
|
int | lmax () const |
|
double | rcut_max () const |
|
int | nzeta (const int l) const |
|
int | nzeta_max () const |
|
int | nchi () const |
|
const NumericalRadial & | chi (const int l, const int izeta) |
|
const NumericalRadial * | cbegin () const |
|
const NumericalRadial * | cend () const |
|
void | set_transformer (ModuleBase::SphericalBesselTransformer sbt, const int update=0) |
|
void | set_grid (const bool for_r_space, const int ngrid, const double *grid, const char mode='i') |
| Sets a common grid for all NumericalRadial objects.
|
|
void | set_uniform_grid (const bool for_r_space, const int ngrid, const double cutoff, const char mode='i', const bool enable_fft=false) |
| Sets a common uniform grid for all NumericalRadial objects.
|
|
|
void | read_coeff (std::ifstream &ifs, std::ofstream *ptr_log=nullptr, const int rank=0) |
| Reads spherical Bessel coefficients, cutoff radius & smoothing parameter from a file stream.
|
|
void | build_radset (const bool normalize=true) |
|
std::string | extract (std::string const &str, std::string const &keyword) |
| Extracts a substring (VALUE) from a string of the form KEYWORD=" VALUE ".
|
|
std::vector< std::string > | split (std::string const &str, const char *delim=" \n\t") |
| Splits a string into a vector of substrings with given delimiters.
|
|
std::vector< double > | sphbes_comb (const int l, std::vector< double > const &coeff_q, double rcut, double dr, std::vector< double > const &q) |
| Computes the combination of spherical Bessel functions on a uniform grid.
|
|
double | smooth (double r, double rcut, double sigma) |
| Smoothing function.
|
|
Numerical radials from spherical Bessel coefficients.