SIRIUS 7.5.0
Electronic structure library and applications
Public Member Functions | Private Member Functions | Private Attributes | List of all members
sirius::Radial_integrals_beta< jl_deriv > Class Template Reference

Radial integrals of beta projectors. More...

#include <radial_integrals.hpp>

Inherits sirius::Radial_integrals_base< 2 >.

Public Member Functions

 Radial_integrals_beta (Unit_cell const &unit_cell__, double qmax__, int np__, std::function< void(int, double, double *, int)> ri_callback__)
 
sddk::mdarray< double, 1 > values (int iat__, double q__) const
 Get all values for a given atom type and q-point. More...
 
- Public Member Functions inherited from sirius::Radial_integrals_base< 2 >
 Radial_integrals_base (Unit_cell const &unit_cell__, double const qmax__, int const np__)
 Constructor. More...
 
std::pair< int, double > iqdq (double q__) const
 Get starting index iq and delta dq for the q-point on the linear grid. More...
 
double value (Args... args, double q__) const
 Return value of the radial integral with specific indices. More...
 
int nq () const
 
double qmax () const
 

Private Member Functions

void generate ()
 Generate radial integrals on the q-grid. More...
 

Private Attributes

std::function< void(int, double, double *, int)> ri_callback_ {nullptr}
 Callback function to compute radial integrals using the host code. More...
 

Additional Inherited Members

- Protected Attributes inherited from sirius::Radial_integrals_base< 2 >
Unit_cell const & unit_cell_
 Unit cell. More...
 
Radial_grid< double > grid_q_
 Linear grid of q-points on which the interpolation of radial integrals is done. More...
 
splindex_block spl_q_
 Split index of q-points. More...
 
sddk::mdarray< Spline< double >, N > values_
 Array with integrals. More...
 
double qmax_
 Maximum length of the reciprocal wave-vector. More...
 

Detailed Description

template<bool jl_deriv>
class sirius::Radial_integrals_beta< jl_deriv >

Radial integrals of beta projectors.

Definition at line 324 of file radial_integrals.hpp.

Constructor & Destructor Documentation

◆ Radial_integrals_beta()

template<bool jl_deriv>
sirius::Radial_integrals_beta< jl_deriv >::Radial_integrals_beta ( Unit_cell const &  unit_cell__,
double  qmax__,
int  np__,
std::function< void(int, double, double *, int)>  ri_callback__ 
)
inline

Definition at line 334 of file radial_integrals.hpp.

Member Function Documentation

◆ generate()

template<bool jl_deriv>
void sirius::Radial_integrals_beta< jl_deriv >::generate
private

Generate radial integrals on the q-grid.

Definition at line 202 of file radial_integrals.cpp.

◆ values()

template<bool jl_deriv>
sddk::mdarray< double, 1 > sirius::Radial_integrals_beta< jl_deriv >::values ( int  iat__,
double  q__ 
) const
inline

Get all values for a given atom type and q-point.

Definition at line 347 of file radial_integrals.hpp.

Member Data Documentation

◆ ri_callback_

template<bool jl_deriv>
std::function<void(int, double, double*, int)> sirius::Radial_integrals_beta< jl_deriv >::ri_callback_ {nullptr}
private

Callback function to compute radial integrals using the host code.

Definition at line 328 of file radial_integrals.hpp.


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