SIRIUS 7.5.0
Electronic structure library and applications
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
sirius::sf::Spherical_Bessel_functions Class Reference

Spherical Bessel functions \( j_{\ell}(q x) \) up to lmax. More...

#include <sbessel.hpp>

Public Member Functions

 Spherical_Bessel_functions (int lmax__, Radial_grid< double > const &rgrid__, double q__)
 
Spline< double > const & operator[] (int l__) const
 
Spline< double > deriv_q (int l__)
 Derivative of Bessel function with respect to q. More...
 

Static Public Member Functions

static void sbessel (int lmax__, double t__, double *jl__)
 
static void sbessel_deriv_q (int lmax__, double q__, double x__, double *jl_dq__)
 

Private Attributes

double q_ {0}
 
Radial_grid< double > const * rgrid_ {nullptr}
 
std::vector< Spline< double > > sbessel_
 

Detailed Description

Spherical Bessel functions \( j_{\ell}(q x) \) up to lmax.

Definition at line 37 of file sbessel.hpp.

Constructor & Destructor Documentation

◆ Spherical_Bessel_functions() [1/2]

sirius::sf::Spherical_Bessel_functions::Spherical_Bessel_functions ( )
inline

Definition at line 47 of file sbessel.hpp.

◆ Spherical_Bessel_functions() [2/2]

sirius::sf::Spherical_Bessel_functions::Spherical_Bessel_functions ( int  lmax__,
Radial_grid< double > const &  rgrid__,
double  q__ 
)

Definition at line 47 of file sbessel.cpp.

Member Function Documentation

◆ sbessel()

void sirius::sf::Spherical_Bessel_functions::sbessel ( int  lmax__,
double  t__,
double *  jl__ 
)
static

Definition at line 75 of file sbessel.cpp.

◆ sbessel_deriv_q()

void sirius::sf::Spherical_Bessel_functions::sbessel_deriv_q ( int  lmax__,
double  q__,
double  x__,
double *  jl_dq__ 
)
static

Definition at line 81 of file sbessel.cpp.

◆ operator[]()

Spline< double > const & sirius::sf::Spherical_Bessel_functions::operator[] ( int  l__) const

Definition at line 101 of file sbessel.cpp.

◆ deriv_q()

Spline< double > sirius::sf::Spherical_Bessel_functions::deriv_q ( int  l__)

Derivative of Bessel function with respect to q.

\[ \frac{\partial j_{\ell}(q x)}{\partial q} = \frac{\ell}{q} j_{\ell}(q x) - x j_{\ell+1}(q x) \]

Definition at line 107 of file sbessel.cpp.

Member Data Documentation

◆ q_

double sirius::sf::Spherical_Bessel_functions::q_ {0}
private

Definition at line 40 of file sbessel.hpp.

◆ rgrid_

Radial_grid<double> const* sirius::sf::Spherical_Bessel_functions::rgrid_ {nullptr}
private

Definition at line 42 of file sbessel.hpp.

◆ sbessel_

std::vector<Spline<double> > sirius::sf::Spherical_Bessel_functions::sbessel_
private

Definition at line 44 of file sbessel.hpp.


The documentation for this class was generated from the following files: