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

Build and hold the orbital basis and two-center integral tables needed to evaluate position-operator matrix elements <phi_mu | r_hat | phi_nu>. More...

#include <pos_op_basis.h>

Collaboration diagram for PosOpBasis:

Public Member Functions

 PosOpBasis ()
 ~PosOpBasis ()
void build (const UnitCell &ucell, const LCAO_Orbitals &orb, bool cal_force, int nlocal)
void build_nonlocal (const UnitCell &ucell, const LCAO_Orbitals &orb, bool cal_force, int nlocal)
const Numerical_Orbital_Lm & get_orb_r () const
const std::map< size_t, std::map< size_t, std::map< size_t, std::map< size_t, std::map< size_t, std::map< size_t, Center2_Orb::Orb11 > > > > > > & get_center2_orb11 () const
const std::map< size_t, std::map< size_t, std::map< size_t, std::map< size_t, std::map< size_t, std::map< size_t, Center2_Orb::Orb21 > > > > > > & get_center2_orb21_r () const
const std::map< size_t, std::map< size_t, std::map< size_t, std::map< size_t, std::map< size_t, Center2_Orb::Orb11 > > > > > & get_center2_orb11_nonlocal () const
const std::map< size_t, std::map< size_t, std::map< size_t, std::map< size_t, std::map< size_t, Center2_Orb::Orb21 > > > > > & get_center2_orb21_r_nonlocal () const
int get_iw2it (int iw) const
int get_iw2ia (int iw) const
int get_iw2iL (int iw) const
int get_iw2iN (int iw) const
int get_iw2im (int iw) const

Private Member Functions

void setup_tables (const LCAO_Orbitals &orb)
void build_orbs (const UnitCell &ucell, const LCAO_Orbitals &orb, bool cal_force)
void build_nonlocal_orbs (const UnitCell &ucell, const LCAO_Orbitals &orb, bool cal_force)
void build_iw_map (const UnitCell &ucell, int nlocal)

Private Attributes

std::vector< int > iw2ia
std::vector< int > iw2iL
std::vector< int > iw2im
std::vector< int > iw2iN
std::vector< int > iw2it
ModuleBase::Sph_Bessel_Recursive::D2 * psb_ = nullptr
ORB_gaunt_table MGT
Numerical_Orbital_Lm orb_r
std::vector< std::vector< std::vector< Numerical_Orbital_Lm > > > orbs
std::vector< std::vector< Numerical_Orbital_Lm > > orbs_nonlocal
std::map< size_t, std::map< size_t, std::map< size_t, std::map< size_t, std::map< size_t, std::map< size_t, Center2_Orb::Orb11 > > > > > > center2_orb11
std::map< size_t, std::map< size_t, std::map< size_t, std::map< size_t, std::map< size_t, std::map< size_t, Center2_Orb::Orb21 > > > > > > center2_orb21_r
std::map< size_t, std::map< size_t, std::map< size_t, std::map< size_t, std::map< size_t, Center2_Orb::Orb11 > > > > > center2_orb11_nonlocal
std::map< size_t, std::map< size_t, std::map< size_t, std::map< size_t, std::map< size_t, Center2_Orb::Orb21 > > > > > center2_orb21_r_nonlocal

Detailed Description

Build and hold the orbital basis and two-center integral tables needed to evaluate position-operator matrix elements <phi_mu | r_hat | phi_nu>.

The class prepares the numerical atomic orbitals, the auxiliary r-orbital, the non-local projectors (when needed), the spherical-Bessel/Gaunt tables, and the Center2_Orb integral tables. It also builds the iw2* index maps that translate a global orbital index into (type, atom, L, N, m).

Constructor & Destructor Documentation

◆ PosOpBasis()

PosOpBasis::PosOpBasis ( )

◆ ~PosOpBasis()

PosOpBasis::~PosOpBasis ( )

Member Function Documentation

◆ build()

void PosOpBasis::build ( const UnitCell & ucell,
const LCAO_Orbitals & orb,
bool cal_force,
int nlocal )
Here is the call graph for this function:

◆ build_iw_map()

void PosOpBasis::build_iw_map ( const UnitCell & ucell,
int nlocal )
private
Here is the caller graph for this function:

◆ build_nonlocal()

void PosOpBasis::build_nonlocal ( const UnitCell & ucell,
const LCAO_Orbitals & orb,
bool cal_force,
int nlocal )
Here is the call graph for this function:

◆ build_nonlocal_orbs()

void PosOpBasis::build_nonlocal_orbs ( const UnitCell & ucell,
const LCAO_Orbitals & orb,
bool cal_force )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ build_orbs()

void PosOpBasis::build_orbs ( const UnitCell & ucell,
const LCAO_Orbitals & orb,
bool cal_force )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_center2_orb11()

const std::map< size_t, std::map< size_t, std::map< size_t, std::map< size_t, std::map< size_t, std::map< size_t, Center2_Orb::Orb11 > > > > > > & PosOpBasis::get_center2_orb11 ( ) const
inline

◆ get_center2_orb11_nonlocal()

const std::map< size_t, std::map< size_t, std::map< size_t, std::map< size_t, std::map< size_t, Center2_Orb::Orb11 > > > > > & PosOpBasis::get_center2_orb11_nonlocal ( ) const
inline

◆ get_center2_orb21_r()

const std::map< size_t, std::map< size_t, std::map< size_t, std::map< size_t, std::map< size_t, std::map< size_t, Center2_Orb::Orb21 > > > > > > & PosOpBasis::get_center2_orb21_r ( ) const
inline

◆ get_center2_orb21_r_nonlocal()

const std::map< size_t, std::map< size_t, std::map< size_t, std::map< size_t, std::map< size_t, Center2_Orb::Orb21 > > > > > & PosOpBasis::get_center2_orb21_r_nonlocal ( ) const
inline

◆ get_iw2ia()

int PosOpBasis::get_iw2ia ( int iw) const
inline

◆ get_iw2iL()

int PosOpBasis::get_iw2iL ( int iw) const
inline

◆ get_iw2im()

int PosOpBasis::get_iw2im ( int iw) const
inline

◆ get_iw2iN()

int PosOpBasis::get_iw2iN ( int iw) const
inline

◆ get_iw2it()

int PosOpBasis::get_iw2it ( int iw) const
inline

◆ get_orb_r()

const Numerical_Orbital_Lm & PosOpBasis::get_orb_r ( ) const
inline

◆ setup_tables()

void PosOpBasis::setup_tables ( const LCAO_Orbitals & orb)
private
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ center2_orb11

std::map<size_t, std::map<size_t, std::map<size_t, std::map<size_t, std::map<size_t, std::map<size_t, Center2_Orb::Orb11> > > > > > PosOpBasis::center2_orb11
private

◆ center2_orb11_nonlocal

std::map<size_t, std::map<size_t, std::map<size_t, std::map<size_t, std::map<size_t, Center2_Orb::Orb11> > > > > PosOpBasis::center2_orb11_nonlocal
private

◆ center2_orb21_r

std::map<size_t, std::map<size_t, std::map<size_t, std::map<size_t, std::map<size_t, std::map<size_t, Center2_Orb::Orb21> > > > > > PosOpBasis::center2_orb21_r
private

◆ center2_orb21_r_nonlocal

std::map<size_t, std::map<size_t, std::map<size_t, std::map<size_t, std::map<size_t, Center2_Orb::Orb21> > > > > PosOpBasis::center2_orb21_r_nonlocal
private

◆ iw2ia

std::vector<int> PosOpBasis::iw2ia
private

◆ iw2iL

std::vector<int> PosOpBasis::iw2iL
private

◆ iw2im

std::vector<int> PosOpBasis::iw2im
private

◆ iw2iN

std::vector<int> PosOpBasis::iw2iN
private

◆ iw2it

std::vector<int> PosOpBasis::iw2it
private

◆ MGT

ORB_gaunt_table PosOpBasis::MGT
private

◆ orb_r

Numerical_Orbital_Lm PosOpBasis::orb_r
private

◆ orbs

std::vector<std::vector<std::vector<Numerical_Orbital_Lm> > > PosOpBasis::orbs
private

◆ orbs_nonlocal

std::vector<std::vector<Numerical_Orbital_Lm> > PosOpBasis::orbs_nonlocal
private

◆ psb_

ModuleBase::Sph_Bessel_Recursive::D2* PosOpBasis::psb_ = nullptr
private

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