ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Numerical_Nonlocal_Lm Class Reference

#include <orb_nonlocal_lm.h>

Collaboration diagram for Numerical_Nonlocal_Lm:

Public Member Functions

 Numerical_Nonlocal_Lm ()
 use SplineD2
 ~Numerical_Nonlocal_Lm ()
const int & getL () const
const int & getType () const
const double & getRcut () const
const int & getNr () const
const double * getRadial () const
const double & getRadial (const int &ir) const
const double * getBeta_r () const
const double & getBeta_r (const int &ir) const
const double & getDk () const
const double * getKpoint () const
const double & getKpoint (const int &ik) const
const double * getBeta_k () const
const double & getBeta_k (const int &ik) const
const int & getNk () const
const double & getDruniform () const
Numerical_Nonlocal_Lm & operator= (const Numerical_Nonlocal_Lm &nol)
void set_NL_proj (const std::string &label, const int &index_atom_type_in, const int &angular_momentum_l_in, const int &nr_in, const double *rab_in, const double *r_radial_in, const double *beta_r_in, const int &nk_in, const double &dk_in, const double &dr_uniform_in)
void plot (const int &my_rank) const

Public Attributes

double * beta_uniform = nullptr
double * dbeta_uniform = nullptr
int nr_uniform
double dr_uniform

Private Member Functions

void freemem (void)
void renew (void)
void get_kradial (void)

Private Attributes

std::string label
int index_atom_type
int angular_momentum_l
int index_proj
int nr
int nk
double rcut
double kcut
double dk
double * r_radial = nullptr
double * k_radial = nullptr
double * rab = nullptr
double * beta_r = nullptr
double * beta_k = nullptr

Friends

class NumericalNonlocalLmTest

Detailed Description

CLASS Numerical_Nonlocal_Lm

Note : contain information about each projector all features of projector's shape

AUTHOR : liaochen

DATE : 2008-03-04

Constructor & Destructor Documentation

◆ Numerical_Nonlocal_Lm()

Numerical_Nonlocal_Lm::Numerical_Nonlocal_Lm ( )

use SplineD2

use Polynomial_Interpolation_xy, Spherical_Bessel

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~Numerical_Nonlocal_Lm()

Numerical_Nonlocal_Lm::~Numerical_Nonlocal_Lm ( )
Here is the call graph for this function:

Member Function Documentation

◆ freemem()

void Numerical_Nonlocal_Lm::freemem ( void )
private
Here is the caller graph for this function:

◆ get_kradial()

void Numerical_Nonlocal_Lm::get_kradial ( void )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getBeta_k() [1/2]

const double * Numerical_Nonlocal_Lm::getBeta_k ( ) const
inline
Here is the caller graph for this function:

◆ getBeta_k() [2/2]

const double & Numerical_Nonlocal_Lm::getBeta_k ( const int & ik) const
inline

◆ getBeta_r() [1/2]

const double * Numerical_Nonlocal_Lm::getBeta_r ( ) const
inline
Here is the caller graph for this function:

◆ getBeta_r() [2/2]

const double & Numerical_Nonlocal_Lm::getBeta_r ( const int & ir) const
inline

◆ getDk()

const double & Numerical_Nonlocal_Lm::getDk ( ) const
inline
Here is the caller graph for this function:

◆ getDruniform()

const double & Numerical_Nonlocal_Lm::getDruniform ( ) const
inline

◆ getKpoint() [1/2]

const double * Numerical_Nonlocal_Lm::getKpoint ( ) const
inline
Here is the caller graph for this function:

◆ getKpoint() [2/2]

const double & Numerical_Nonlocal_Lm::getKpoint ( const int & ik) const
inline

◆ getL()

const int & Numerical_Nonlocal_Lm::getL ( ) const
inline
Here is the caller graph for this function:

◆ getNk()

const int & Numerical_Nonlocal_Lm::getNk ( ) const
inline
Here is the caller graph for this function:

◆ getNr()

const int & Numerical_Nonlocal_Lm::getNr ( ) const
inline
Here is the caller graph for this function:

◆ getRadial() [1/2]

const double * Numerical_Nonlocal_Lm::getRadial ( ) const
inline
Here is the caller graph for this function:

◆ getRadial() [2/2]

const double & Numerical_Nonlocal_Lm::getRadial ( const int & ir) const
inline

◆ getRcut()

const double & Numerical_Nonlocal_Lm::getRcut ( ) const
inline
Here is the caller graph for this function:

◆ getType()

const int & Numerical_Nonlocal_Lm::getType ( ) const
inline
Here is the caller graph for this function:

◆ operator=()

Numerical_Nonlocal_Lm & Numerical_Nonlocal_Lm::operator= ( const Numerical_Nonlocal_Lm & nol)
Here is the call graph for this function:

◆ plot()

void Numerical_Nonlocal_Lm::plot ( const int & my_rank) const
Here is the call graph for this function:

◆ renew()

void Numerical_Nonlocal_Lm::renew ( void )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_NL_proj()

void Numerical_Nonlocal_Lm::set_NL_proj ( const std::string & label,
const int & index_atom_type_in,
const int & angular_momentum_l_in,
const int & nr_in,
const double * rab_in,
const double * r_radial_in,
const double * beta_r_in,
const int & nk_in,
const double & dk_in,
const double & dr_uniform_in )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ NumericalNonlocalLmTest

friend class NumericalNonlocalLmTest
friend

the unit test drives freemem(), renew() and get_kradial() directly, and reads label/kcut/index_proj/rab, which have no public accessor

Member Data Documentation

◆ angular_momentum_l

int Numerical_Nonlocal_Lm::angular_momentum_l
private

◆ beta_k

double* Numerical_Nonlocal_Lm::beta_k = nullptr
private

◆ beta_r

double* Numerical_Nonlocal_Lm::beta_r = nullptr
private

◆ beta_uniform

double* Numerical_Nonlocal_Lm::beta_uniform = nullptr

◆ dbeta_uniform

double* Numerical_Nonlocal_Lm::dbeta_uniform = nullptr

◆ dk

double Numerical_Nonlocal_Lm::dk
private

◆ dr_uniform

double Numerical_Nonlocal_Lm::dr_uniform

◆ index_atom_type

int Numerical_Nonlocal_Lm::index_atom_type
private

◆ index_proj

int Numerical_Nonlocal_Lm::index_proj
private

◆ k_radial

double* Numerical_Nonlocal_Lm::k_radial = nullptr
private

◆ kcut

double Numerical_Nonlocal_Lm::kcut
private

◆ label

std::string Numerical_Nonlocal_Lm::label
private

◆ nk

int Numerical_Nonlocal_Lm::nk
private

◆ nr

int Numerical_Nonlocal_Lm::nr
private

◆ nr_uniform

int Numerical_Nonlocal_Lm::nr_uniform

◆ r_radial

double* Numerical_Nonlocal_Lm::r_radial = nullptr
private

◆ rab

double* Numerical_Nonlocal_Lm::rab = nullptr
private

◆ rcut

double Numerical_Nonlocal_Lm::rcut
private

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