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

Inherits sirius::Radial_integrals_base< 1 >.

Public Member Functions

 Radial_integrals_vloc (Unit_cell const &unit_cell__, double qmax__, int np__, std::function< void(int, int, double *, double *)> ri_callback__)
 
double value (int iat__, double q__) const
 Special implementation to recover the true radial integral value. More...
 
auto values (std::vector< double > &q__, mpi::Communicator const &comm__) const
 Compute all values of the raial integrals. More...
 
- Public Member Functions inherited from sirius::Radial_integrals_base< 1 >
 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 ()
 

Private Attributes

std::function< void(int, int, double *, double *)> ri_callback_ {nullptr}
 

Additional Inherited Members

- Protected Attributes inherited from sirius::Radial_integrals_base< 1 >
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_vloc< jl_deriv >

Definition at line 364 of file radial_integrals.hpp.

Constructor & Destructor Documentation

◆ Radial_integrals_vloc()

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

Definition at line 371 of file radial_integrals.hpp.

Member Function Documentation

◆ generate()

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

Definition at line 243 of file radial_integrals.cpp.

◆ value()

template<bool jl_deriv>
double sirius::Radial_integrals_vloc< jl_deriv >::value ( int  iat__,
double  q__ 
) const
inline

Special implementation to recover the true radial integral value.

Definition at line 383 of file radial_integrals.hpp.

◆ values()

template<bool jl_deriv>
auto sirius::Radial_integrals_vloc< jl_deriv >::values ( std::vector< double > &  q__,
mpi::Communicator const &  comm__ 
) const
inline

Compute all values of the raial integrals.

Definition at line 409 of file radial_integrals.hpp.

Member Data Documentation

◆ ri_callback_

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

Definition at line 367 of file radial_integrals.hpp.


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