SIRIUS 7.5.0
Electronic structure library and applications
Public Member Functions | List of all members
sirius::Radial_grid_ext< T > Class Template Reference

External radial grid provided as a list of points. More...

#include <radial_grid.hpp>

Inherits sirius::Radial_grid< T >.

Public Member Functions

 Radial_grid_ext (int num_points__, T const *data__)
 
- Public Member Functions inherited from sirius::Radial_grid< T >
 Radial_grid ()
 Constructor of the empty object. More...
 
 Radial_grid (int num_points__)
 Constructor. More...
 
 Radial_grid (Radial_grid< T > &&src__)=default
 
Radial_grid< T > & operator= (Radial_grid< T > &&src__)=default
 
int index_of (T x__) const
 
int num_points () const
 Number of grid points. More...
 
first () const
 First point of the grid. More...
 
last () const
 Last point of the grid. More...
 
operator[] (const int i) const
 Return \( x_{i} \). More...
 
x (const int i) const
 Return \( x_{i} \). More...
 
dx (const int i) const
 Return \( dx_{i} \). More...
 
x_inv (const int i) const
 Return \( x_{i}^{-1} \). More...
 
std::string const & name () const
 
void copy_to_device ()
 
sddk::mdarray< T, 1 > const & x () const
 
sddk::mdarray< T, 1 > const & dx () const
 
Radial_grid< T > segment (int num_points__) const
 
std::vector< real_type< T > > values () const
 
uint64_t hash () const
 

Additional Inherited Members

- Protected Member Functions inherited from sirius::Radial_grid< T >
void init ()
 Initialize the grid. More...
 
 Radial_grid (Radial_grid< T > const &src__)=delete
 
Radial_gridoperator= (Radial_grid< T > const &src__)=delete
 
- Protected Attributes inherited from sirius::Radial_grid< T >
sddk::mdarray< T, 1 > x_
 Radial grid points. More...
 
sddk::mdarray< T, 1 > x_inv_
 Inverse values of radial grid points. More...
 
sddk::mdarray< T, 1 > dx_
 Radial grid points difference. More...
 
std::string name_
 Name of the grid type. More...
 

Detailed Description

template<typename T>
class sirius::Radial_grid_ext< T >

External radial grid provided as a list of points.

Definition at line 306 of file radial_grid.hpp.

Constructor & Destructor Documentation

◆ Radial_grid_ext()

template<typename T >
sirius::Radial_grid_ext< T >::Radial_grid_ext ( int  num_points__,
T const *  data__ 
)
inline

Definition at line 309 of file radial_grid.hpp.


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