ampsci
c++ program for high-precision atomic structure calculations of single-valence systems
|
Wrappers for returning Spherical Bessel functions. More...
Functions | |
template<typename T > | |
T | JL (const int L, const T x) |
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) |
Wrappers for returning Spherical Bessel functions.
Has an "exact" version, and a faster approx version (good to ~ 1.e-9)