Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions source/source_basis/module_ao/orb_atomic_lm.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ using std::vector;
class Numerical_Orbital_Lm
{
friend class Numerical_Orbital;
/// the unit test drives cal_kradial(), cal_kradial_sbpool(),
/// cal_rradial_sbpool() and plot() directly
friend class NumericalOrbitalLmTest;

public:

Expand Down Expand Up @@ -139,6 +142,7 @@ class Numerical_Orbital_Lm
const std::vector<double>& get_psi() const { return psi; }
const double* getPsi_r() const { return ModuleBase::GlobalFunc::VECTOR_TO_PTR(psir); }
const double& getPsi_r(const int ir) const { return psir[ir]; }
const std::vector<double>& get_psir() const { return psir; }

const double* getPsif() const { return ModuleBase::GlobalFunc::VECTOR_TO_PTR(psif); }
const double& getPsif(const int ik) const { return psif[ik]; }
Expand Down
Loading
Loading