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

#include <center2orb_orb21.h>

Collaboration diagram for Center2_Orb::Orb21:

Public Member Functions

 Orb21 (const Numerical_Orbital_Lm &nA1_in, const Numerical_Orbital_Lm &nA2_in, const Numerical_Orbital_Lm &nB_in, const ModuleBase::Sph_Bessel_Recursive::D2 *psb, const ORB_gaunt_table &MGT_in)
void init_radial_table ()
void init_radial_table (const std::set< size_t > &radials)
 Selective calls retain previously populated entries for the same orbitals.
double cal_overlap (const ModuleBase::Vector3< double > &RA, const ModuleBase::Vector3< double > &RB, const int &mA1, const int &mA2, const int &mB) const
ModuleBase::Vector3< double > cal_grad_overlap (const ModuleBase::Vector3< double > &RA, const ModuleBase::Vector3< double > &RB, const int &mA1, const int &mA2, const int &mB) const
std::vector< double > cal_overlap (const ModuleBase::Vector3< double > &RA, const ModuleBase::Vector3< double > &RB) const
 All magnetic components, ordered as [mA1][mA2][mB].
std::vector< ModuleBase::Vector3< double > > cal_grad_overlap (const ModuleBase::Vector3< double > &RA, const ModuleBase::Vector3< double > &RB) const

Static Public Member Functions

static void init_radial_table (const std::vector< Orb21 * > &orbitals, const bool use_gpu)
static void init_radial_table (const std::vector< Orb21 * > &orbitals, const std::set< size_t > &radials)
 Selective batches retain each orbital's previously populated entries.

Private Types

using ProductOrbitals = std::map<int, Numerical_Orbital_Lm>

Private Member Functions

template<typename T>
std::vector< T > cal_magnetic_components (const ModuleBase::Vector3< double > &RA, const ModuleBase::Vector3< double > &RB, std::vector< T >(Orb11::*evaluate)(const ModuleBase::Vector3< double > &, const ModuleBase::Vector3< double > &) const) const
void prepare_radial_table ()
void bind_product_orbitals ()

Static Private Member Functions

static std::vector< Orb11 * > prepare_radial_tables (const std::vector< Orb21 * > &orbitals)

Private Attributes

const Numerical_Orbital_Lm & nA1
const Numerical_Orbital_Lm & nA2
const Numerical_Orbital_Lm & nB
const ModuleBase::Sph_Bessel_Recursive::D2 * psb_ = nullptr
const ORB_gaunt_table & MGT
std::shared_ptr< const ProductOrbitals > nA
std::map< int, Center2_Orb::Orb11 > orb11s

Member Typedef Documentation

◆ ProductOrbitals

Constructor & Destructor Documentation

◆ Orb21()

Center2_Orb::Orb21::Orb21 ( const Numerical_Orbital_Lm & nA1_in,
const Numerical_Orbital_Lm & nA2_in,
const Numerical_Orbital_Lm & nB_in,
const ModuleBase::Sph_Bessel_Recursive::D2 * psb,
const ORB_gaunt_table & MGT_in )
Here is the caller graph for this function:

Member Function Documentation

◆ bind_product_orbitals()

void Center2_Orb::Orb21::bind_product_orbitals ( )
private
Here is the caller graph for this function:

◆ cal_grad_overlap() [1/2]

std::vector< ModuleBase::Vector3< double > > Center2_Orb::Orb21::cal_grad_overlap ( const ModuleBase::Vector3< double > & RA,
const ModuleBase::Vector3< double > & RB ) const
Here is the call graph for this function:

◆ cal_grad_overlap() [2/2]

ModuleBase::Vector3< double > Center2_Orb::Orb21::cal_grad_overlap ( const ModuleBase::Vector3< double > & RA,
const ModuleBase::Vector3< double > & RB,
const int & mA1,
const int & mA2,
const int & mB ) const
Here is the caller graph for this function:

◆ cal_magnetic_components()

template<typename T>
std::vector< T > Center2_Orb::Orb21::cal_magnetic_components ( const ModuleBase::Vector3< double > & RA,
const ModuleBase::Vector3< double > & RB,
std::vector< T >(Orb11::* evaluate )(const ModuleBase::Vector3< double > &, const ModuleBase::Vector3< double > &) const ) const
private
Here is the caller graph for this function:

◆ cal_overlap() [1/2]

std::vector< double > Center2_Orb::Orb21::cal_overlap ( const ModuleBase::Vector3< double > & RA,
const ModuleBase::Vector3< double > & RB ) const

All magnetic components, ordered as [mA1][mA2][mB].

Here is the call graph for this function:

◆ cal_overlap() [2/2]

double Center2_Orb::Orb21::cal_overlap ( const ModuleBase::Vector3< double > & RA,
const ModuleBase::Vector3< double > & RB,
const int & mA1,
const int & mA2,
const int & mB ) const
Here is the caller graph for this function:

◆ init_radial_table() [1/4]

void Center2_Orb::Orb21::init_radial_table ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_radial_table() [2/4]

void Center2_Orb::Orb21::init_radial_table ( const std::set< size_t > & radials)

Selective calls retain previously populated entries for the same orbitals.

Here is the call graph for this function:

◆ init_radial_table() [3/4]

void Center2_Orb::Orb21::init_radial_table ( const std::vector< Orb21 * > & orbitals,
const bool use_gpu )
static
Here is the call graph for this function:

◆ init_radial_table() [4/4]

void Center2_Orb::Orb21::init_radial_table ( const std::vector< Orb21 * > & orbitals,
const std::set< size_t > & radials )
static

Selective batches retain each orbital's previously populated entries.

Here is the call graph for this function:

◆ prepare_radial_table()

void Center2_Orb::Orb21::prepare_radial_table ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ prepare_radial_tables()

std::vector< Center2_Orb::Orb11 * > Center2_Orb::Orb21::prepare_radial_tables ( const std::vector< Orb21 * > & orbitals)
staticprivate
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ MGT

const ORB_gaunt_table& Center2_Orb::Orb21::MGT
private

◆ nA

std::shared_ptr<const ProductOrbitals> Center2_Orb::Orb21::nA
private

◆ nA1

const Numerical_Orbital_Lm& Center2_Orb::Orb21::nA1
private

◆ nA2

const Numerical_Orbital_Lm& Center2_Orb::Orb21::nA2
private

◆ nB

const Numerical_Orbital_Lm& Center2_Orb::Orb21::nB
private

◆ orb11s

std::map<int, Center2_Orb::Orb11> Center2_Orb::Orb21::orb11s
private

◆ psb_

const ModuleBase::Sph_Bessel_Recursive::D2* Center2_Orb::Orb21::psb_ = nullptr
private

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