ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
LCAO_domain::NonlocalInfoBase Class Referenceabstract

Abstract base class for non-local pseudopotential information. More...

Collaboration diagram for LCAO_domain::NonlocalInfoBase:

Public Member Functions

virtual ~NonlocalInfoBase ()=default
 Virtual destructor for proper cleanup of derived classes.
virtual const double & get_rcutmax_Beta () const =0
 Get the maximum cutoff radius among all non-local projectors.
virtual int get_nproj (const int &type_in) const =0
 Get the number of projectors for a specific atom type.
virtual int get_nprojmax () const =0
 Get the maximum number of projectors across all atom types.
virtual double get_rcut_max (const int &type_in) const =0
 Get the cutoff radius for a specific atom type's projectors.
virtual const std::string & get_label (const int &type_in) const =0
 Get the element label for a specific atom type.
virtual int get_type (const int &type_in) const =0
 Get the type index for a specific atom type.
virtual int get_proj_L (const int &type_in, const int &ip_in) const =0
 Get the angular momentum L for a specific projector.
virtual int get_proj_Nr (const int &type_in, const int &ip_in) const =0
 Get the number of radial mesh points for a specific projector.
virtual const double * get_proj_radial (const int &type_in, const int &ip_in) const =0
 Get the radial mesh array for a specific projector.
virtual const double * get_proj_beta_r (const int &type_in, const int &ip_in) const =0
 Get the beta radial function array for a specific projector.
virtual int get_proj_Nk (const int &type_in, const int &ip_in) const =0
 Get the number of k-space mesh points for a specific projector.
virtual double get_proj_dk (const int &type_in, const int &ip_in) const =0
 Get the k-space spacing for a specific projector.
virtual double get_proj_dr_uniform (const int &type_in, const int &ip_in) const =0
 Get the uniform real-space spacing for a specific projector.

Detailed Description

Abstract base class for non-local pseudopotential information.

Provides a common interface for different basis set implementations to store and access non-local projector data. This class enables the UnitCell module to be independent of LCAO-specific implementations by using polymorphism.

Constructor & Destructor Documentation

◆ ~NonlocalInfoBase()

virtual LCAO_domain::NonlocalInfoBase::~NonlocalInfoBase ( )
virtualdefault

Virtual destructor for proper cleanup of derived classes.

Member Function Documentation

◆ get_label()

virtual const std::string & LCAO_domain::NonlocalInfoBase::get_label ( const int & type_in) const
pure virtual

Get the element label for a specific atom type.

Parameters
[in]type_inAtom type index.
Returns
const reference to label string.

◆ get_nproj()

virtual int LCAO_domain::NonlocalInfoBase::get_nproj ( const int & type_in) const
pure virtual

Get the number of projectors for a specific atom type.

Parameters
[in]type_inAtom type index.
Returns
Number of projectors.

◆ get_nprojmax()

virtual int LCAO_domain::NonlocalInfoBase::get_nprojmax ( ) const
pure virtual

Get the maximum number of projectors across all atom types.

Returns
Maximum nproj value.

◆ get_proj_beta_r()

virtual const double * LCAO_domain::NonlocalInfoBase::get_proj_beta_r ( const int & type_in,
const int & ip_in ) const
pure virtual

Get the beta radial function array for a specific projector.

Parameters
[in]type_inAtom type index.
[in]ip_inProjector index.
Returns
const pointer to beta_r array.

◆ get_proj_dk()

virtual double LCAO_domain::NonlocalInfoBase::get_proj_dk ( const int & type_in,
const int & ip_in ) const
pure virtual

Get the k-space spacing for a specific projector.

Parameters
[in]type_inAtom type index.
[in]ip_inProjector index.
Returns
Delta k value.

◆ get_proj_dr_uniform()

virtual double LCAO_domain::NonlocalInfoBase::get_proj_dr_uniform ( const int & type_in,
const int & ip_in ) const
pure virtual

Get the uniform real-space spacing for a specific projector.

Parameters
[in]type_inAtom type index.
[in]ip_inProjector index.
Returns
Delta r uniform value.

◆ get_proj_L()

virtual int LCAO_domain::NonlocalInfoBase::get_proj_L ( const int & type_in,
const int & ip_in ) const
pure virtual

Get the angular momentum L for a specific projector.

Parameters
[in]type_inAtom type index.
[in]ip_inProjector index.
Returns
Angular momentum L.

◆ get_proj_Nk()

virtual int LCAO_domain::NonlocalInfoBase::get_proj_Nk ( const int & type_in,
const int & ip_in ) const
pure virtual

Get the number of k-space mesh points for a specific projector.

Parameters
[in]type_inAtom type index.
[in]ip_inProjector index.
Returns
Number of k-space mesh points.

◆ get_proj_Nr()

virtual int LCAO_domain::NonlocalInfoBase::get_proj_Nr ( const int & type_in,
const int & ip_in ) const
pure virtual

Get the number of radial mesh points for a specific projector.

Parameters
[in]type_inAtom type index.
[in]ip_inProjector index.
Returns
Number of radial mesh points.

◆ get_proj_radial()

virtual const double * LCAO_domain::NonlocalInfoBase::get_proj_radial ( const int & type_in,
const int & ip_in ) const
pure virtual

Get the radial mesh array for a specific projector.

Parameters
[in]type_inAtom type index.
[in]ip_inProjector index.
Returns
const pointer to radial mesh array.

◆ get_rcut_max()

virtual double LCAO_domain::NonlocalInfoBase::get_rcut_max ( const int & type_in) const
pure virtual

Get the cutoff radius for a specific atom type's projectors.

Parameters
[in]type_inAtom type index.
Returns
Cutoff radius.

◆ get_rcutmax_Beta()

virtual const double & LCAO_domain::NonlocalInfoBase::get_rcutmax_Beta ( ) const
pure virtual

Get the maximum cutoff radius among all non-local projectors.

Returns
const reference to rcutmax_Beta.

◆ get_type()

virtual int LCAO_domain::NonlocalInfoBase::get_type ( const int & type_in) const
pure virtual

Get the type index for a specific atom type.

Parameters
[in]type_inAtom type index.
Returns
Type index.

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