|
ampsci
High-precision calculations for one- and two-valence atomic systems
|
Wrappers for returning Spherical Bessel functions. More...
Classes | |
| class | JL_table |
| Spherical Bessel Lookup table; in the form j_L(qr) = J[L][q][r]. More... | |
Functions | |
| template<typename T > | |
| T | JL (const int L, const T x) |
| Spherical Bessel function. For x<0.1 and K<=7, uses expansion accurate to delta~1e-15, eps~1e-3. | |
| template<typename T > | |
| T | exactGSL_JL (int L, T x) |
| template<typename T > | |
| std::vector< T > | fillBesselVec (const int l, const std::vector< T > &xvec) |
| Creates a vector of Jl(r) for given r. | |
| template<typename T > | |
| std::vector< T > | fillBesselVec_kr (const int l, const double k, const std::vector< T > &rvec) |
| template<typename T > | |
| void | fillBesselVec_kr (int l, double k, const std::vector< T > &r, std::vector< T > *jl) |
Wrappers for returning Spherical Bessel functions.
Has an "exact" version, and a faster approx version (good to ~ 1.e-9)
| T SphericalBessel::JL | ( | const int | L, |
| const T | x | ||
| ) |
Spherical Bessel function. For x<0.1 and K<=7, uses expansion accurate to delta~1e-15, eps~1e-3.
| std::vector< T > SphericalBessel::fillBesselVec | ( | const int | l, |
| const std::vector< T > & | xvec | ||
| ) |
Creates a vector of Jl(r) for given r.