ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
orb_nonlocal.h
Go to the documentation of this file.
1#ifndef NUMERICAL_NONLOCAL_H
2#define NUMERICAL_NONLOCAL_H
3
5#include "orb_nonlocal_lm.h"
21{
22public:
23
26
27 // This class owns the raw Proj array; copying it would alias the buffer
28 // and cause double free, so copy semantics are explicitly forbidden.
31
32 const int& getLmax() const { return this->lmax; }
33
34 const int& getType() const { return this->type; }
35
36 const std::string& getLabel() const { return this->label; }
37
38 const std::string& getType_ps() const { return this->type_ps; }
39
40
41 void set_type_info(
42 const int& type_in,
43 const std::string& label_in,
44 const std::string& type_ps_in,
45 const int& lmax_in,
46 const int& nproj_in,
47 const Numerical_Nonlocal_Lm* ps_orbital_in);
48
50
51 const double& get_rcut_max() const { return rcut_max; }
52 const int& get_nproj() const { return nproj; }
53
54 private:
55
56 std::string label="";
57
58 int type;
59
60 int lmax;
61
62 double rcut_max=0.0;
63
64 std::string type_ps="";
65
66 int nproj;
67
68};
69
70#endif
Definition orb_nonlocal_lm.h:21
int type
<element label
Definition orb_nonlocal.h:58
const int & getType() const
Definition orb_nonlocal.h:34
const double & get_rcut_max() const
Definition orb_nonlocal.h:51
int lmax
max value of L angular momentum
Definition orb_nonlocal.h:60
const std::string & getType_ps() const
Definition orb_nonlocal.h:38
std::string label
Definition orb_nonlocal.h:56
const std::string & getLabel() const
Definition orb_nonlocal.h:36
double rcut_max
Definition orb_nonlocal.h:62
int nproj
Definition orb_nonlocal.h:66
std::string type_ps
local or nonlocal
Definition orb_nonlocal.h:64
void set_type_info(const int &type_in, const std::string &label_in, const std::string &type_ps_in, const int &lmax_in, const int &nproj_in, const Numerical_Nonlocal_Lm *ps_orbital_in)
Definition orb_nonlocal.cpp:22
Numerical_Nonlocal_Lm * Proj
length: nproj(only store radial function )
Definition orb_nonlocal.h:49
Numerical_Nonlocal & operator=(const Numerical_Nonlocal &)=delete
Numerical_Nonlocal(const Numerical_Nonlocal &)=delete
~Numerical_Nonlocal()
Definition orb_nonlocal.cpp:16
const int & getLmax() const
Definition orb_nonlocal.h:32
Numerical_Nonlocal()
Definition orb_nonlocal.cpp:4
const int & get_nproj() const
Definition orb_nonlocal.h:52