ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
nonlocal_info_base.h
Go to the documentation of this file.
1#ifndef NONLOCAL_INFO_BASE_H
2#define NONLOCAL_INFO_BASE_H
3
4#include <string>
5
15public:
19 virtual ~NonlocalInfoBase() = default;
20
25 virtual const double& get_rcutmax_Beta() const = 0;
26
32 virtual int get_nproj(const int& type_in) const = 0;
33
38 virtual int get_nprojmax() const = 0;
39
45 virtual double get_rcut_max(const int& type_in) const = 0;
46
52 virtual const std::string& get_label(const int& type_in) const = 0;
53
59 virtual int get_type(const int& type_in) const = 0;
60
67 virtual int get_proj_L(const int& type_in, const int& ip_in) const = 0;
68
75 virtual int get_proj_Nr(const int& type_in, const int& ip_in) const = 0;
76
83 virtual const double* get_proj_radial(const int& type_in, const int& ip_in) const = 0;
84
91 virtual const double* get_proj_beta_r(const int& type_in, const int& ip_in) const = 0;
92
99 virtual int get_proj_Nk(const int& type_in, const int& ip_in) const = 0;
100
107 virtual double get_proj_dk(const int& type_in, const int& ip_in) const = 0;
108
115 virtual double get_proj_dr_uniform(const int& type_in, const int& ip_in) const = 0;
116};
117
118#endif
Abstract base class for non-local pseudopotential information.
Definition nonlocal_info_base.h:14
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 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.
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_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 double & get_rcutmax_Beta() const =0
Get the maximum cutoff radius among all non-local projectors.
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_L(const int &type_in, const int &ip_in) const =0
Get the angular momentum L for a specific projector.
virtual int get_nproj(const int &type_in) const =0
Get the number of projectors for a specific atom type.
virtual ~NonlocalInfoBase()=default
Virtual destructor for proper cleanup of derived classes.
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 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 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.