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

#include <setup_nonlocal.h>

Collaboration diagram for InfoNonlocal:

Public Member Functions

 InfoNonlocal ()
 ~InfoNonlocal ()
const std::vector< Numerical_Nonlocal > & get_Beta () const
std::vector< Numerical_Nonlocal > & get_Beta ()
const Numerical_Nonlocal & get_Beta (const int &it) const
const Numerical_Nonlocal * get_Beta_data () const
Numerical_Nonlocal * get_Beta_data ()
void resize_Beta (const int &ntype)
const std::vector< int > & get_nproj () const
std::vector< int > & get_nproj ()
int get_nproj (const int &it) const
int & get_nproj_ref (const int &it)
void assign_nproj (const int &ntype, const int &value)
const int & get_nprojmax () const
void set_nprojmax (const int &value)
const double & get_rcutmax_Beta (void) const
void set_rcutmax_Beta (const double &value)
void Set_NonLocal (const int &it, Atom *atom, int &n_projectors, const int &kmesh, const double &dk, const double &dr_uniform, std::ofstream &log, const bool &out_element_info, const bool &lspinorb, const int &nspin, const int &my_rank)
 in order to get rid of the .NONLOCAL file.
void setupNonlocal (const int &ntype, Atom *atoms, std::ofstream &log, LCAO_Orbitals &orb, const std::string &basis_type, const bool &out_element_info, const bool &lspinorb, const int &nspin, const int &my_rank)
 workflow to setup nonlocal part for LCAO

Private Member Functions

void build_soc_coefficients (const Atom *atom, const int &n_projectors, ModuleBase::ComplexMatrix &coefficient_D_nc_in)
 build SOC coefficient matrix for nonlocal projectors
void build_beta_r (const Atom *atom, const int &p1, std::vector< double > &beta_r, int &cut_mesh)
 build radial projector beta_r on truncated mesh

Private Attributes

std::vector< Numerical_Nonlocal > Beta
 NON-LOCAL part for LCAO.
std::vector< int > nproj
 number of projectors per atom type, mohan add 2010-12-19
int nprojmax
 max number of projectors among all types, mohan add 2010-03-07
double rcutmax_Beta
 max cutoff radius among all projectors, caoyu add 2021-05-24

Constructor & Destructor Documentation

◆ InfoNonlocal()

InfoNonlocal::InfoNonlocal ( )

◆ ~InfoNonlocal()

InfoNonlocal::~InfoNonlocal ( )
default

Member Function Documentation

◆ assign_nproj()

void InfoNonlocal::assign_nproj ( const int & ntype,
const int & value )
inline

◆ build_beta_r()

void InfoNonlocal::build_beta_r ( const Atom * atom,
const int & p1,
std::vector< double > & beta_r,
int & cut_mesh )
private

build radial projector beta_r on truncated mesh

◆ build_soc_coefficients()

void InfoNonlocal::build_soc_coefficients ( const Atom * atom,
const int & n_projectors,
ModuleBase::ComplexMatrix & coefficient_D_nc_in )
private

build SOC coefficient matrix for nonlocal projectors

◆ get_Beta() [1/3]

std::vector< Numerical_Nonlocal > & InfoNonlocal::get_Beta ( )
inline

◆ get_Beta() [2/3]

const std::vector< Numerical_Nonlocal > & InfoNonlocal::get_Beta ( ) const
inline
Here is the caller graph for this function:

◆ get_Beta() [3/3]

const Numerical_Nonlocal & InfoNonlocal::get_Beta ( const int & it) const
inline

◆ get_Beta_data() [1/2]

Numerical_Nonlocal * InfoNonlocal::get_Beta_data ( )
inline

◆ get_Beta_data() [2/2]

const Numerical_Nonlocal * InfoNonlocal::get_Beta_data ( ) const
inline
Here is the caller graph for this function:

◆ get_nproj() [1/3]

std::vector< int > & InfoNonlocal::get_nproj ( )
inline

◆ get_nproj() [2/3]

const std::vector< int > & InfoNonlocal::get_nproj ( ) const
inline
Here is the caller graph for this function:

◆ get_nproj() [3/3]

int InfoNonlocal::get_nproj ( const int & it) const
inline

◆ get_nproj_ref()

int & InfoNonlocal::get_nproj_ref ( const int & it)
inline

◆ get_nprojmax()

const int & InfoNonlocal::get_nprojmax ( ) const
inline

◆ get_rcutmax_Beta()

const double & InfoNonlocal::get_rcutmax_Beta ( void ) const
inline

◆ resize_Beta()

void InfoNonlocal::resize_Beta ( const int & ntype)
inline

◆ Set_NonLocal()

void InfoNonlocal::Set_NonLocal ( const int & it,
Atom * atom,
int & n_projectors,
const int & kmesh,
const double & dk,
const double & dr_uniform,
std::ofstream & log,
const bool & out_element_info,
const bool & lspinorb,
const int & nspin,
const int & my_rank )

in order to get rid of the .NONLOCAL file.

◆ set_nprojmax()

void InfoNonlocal::set_nprojmax ( const int & value)
inline

◆ set_rcutmax_Beta()

void InfoNonlocal::set_rcutmax_Beta ( const double & value)
inline

◆ setupNonlocal()

void InfoNonlocal::setupNonlocal ( const int & ntype,
Atom * atoms,
std::ofstream & log,
LCAO_Orbitals & orb,
const std::string & basis_type,
const bool & out_element_info,
const bool & lspinorb,
const int & nspin,
const int & my_rank )

workflow to setup nonlocal part for LCAO

Member Data Documentation

◆ Beta

std::vector<Numerical_Nonlocal> InfoNonlocal::Beta
private

NON-LOCAL part for LCAO.

nonlocal projectors (one per atom type)

◆ nproj

std::vector<int> InfoNonlocal::nproj
private

number of projectors per atom type, mohan add 2010-12-19

◆ nprojmax

int InfoNonlocal::nprojmax
private

max number of projectors among all types, mohan add 2010-03-07

◆ rcutmax_Beta

double InfoNonlocal::rcutmax_Beta
private

max cutoff radius among all projectors, caoyu add 2021-05-24


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