ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
beta_radials.h
Go to the documentation of this file.
1#ifndef BETA_RADIALS_H_
2#define BETA_RADIALS_H_
3
5
7
23class BetaRadials : public RadialSet
24{
25 public:
27 BetaRadials(const BetaRadials& other) : RadialSet(other) {}
28
29 using RadialSet::operator=;
30 BetaRadials* clone() const { return new BetaRadials(*this); } // covariant return type
31
33
35 void build(const Numerical_Nonlocal& nl,
36 const int itype = 0,
37 std::ofstream* const ptr_log = nullptr);
38
39 /*
40 void build(const std::string& file, //!< pseudopotential file name
41 const int itype = 0, //!< element index in calculation
42 std::ofstream* ptr_log = nullptr, //!< output file stream for logging
43 const int rank = 0 //!< MPI rank
44 );
45 */
46
47 private:
48 /*
50 void read_beta_upf100(std::ifstream& ifs, //!< input file stream from orbital file
51 std::ofstream* ptr_log = nullptr, //!< output file stream for logging
52 const int rank = 0 //!< MPI rank
53 );
54
56 void read_beta_upf201(std::ifstream& ifs, //!< input file stream from orbital file
57 std::ofstream* ptr_log = nullptr, //!< output file stream for logging
58 const int rank = 0 //!< MPI rank
59 );
60
62 std::string trim201(std::string const& str);
63
65 std::string extract201(std::string const& str, std::string const& keyword);
66 */
67};
68
69#endif
The radial part of beta functions of a single element.
Definition beta_radials.h:24
BetaRadials()
Definition beta_radials.h:26
void build(const Numerical_Nonlocal &nl, const int itype=0, std::ofstream *const ptr_log=nullptr)
Build the class from a Numerical_Nonlocal object.
Definition beta_radials.cpp:10
~BetaRadials()
Definition beta_radials.h:32
BetaRadials * clone() const
for polymorphic copy
Definition beta_radials.h:30
BetaRadials(const BetaRadials &other)
deep copy
Definition beta_radials.h:27
Definition ORB_nonlocal.h:22
An abstract class representing the set of all numerical radial functions (of the same kind) from a si...
Definition radial_set.h:26
int itype() const
Definition radial_set.h:154