94 const std::unique_ptr<TwoCenterIntegrator>& calculator,
95 const int it,
const int ia,
const int il,
const int iz,
const int mi,
96 const int jt,
const int ja,
const int jl,
const int jz,
const int mj,
119 const std::unique_ptr<TwoCenterIntegrator>& calculator,
120 const int it,
const int ia,
const int il,
const int iz,
const int im,
121 const int jt,
const int ja,
const int jl,
const int jz,
const int jm,
144 const std::unique_ptr<TwoCenterIntegrator>& calculator,
145 const int it,
const int ia,
const int il,
const int iz,
const int im,
146 const int jt,
const int ja,
const int jl,
const int jz,
const int jm,
178 const std::string& orbital_dir,
180 const double& search_radius,
181 const int tdestructor,
184 const bool searchpbc,
185 std::ofstream* ptr_log =
nullptr,
189 void calculate(
const std::string& prefix,
190 const std::string& outdir,
192 const int precision = 10,
203 std::unique_ptr<RadialCollection>
orb_;
219 void kernel(std::ofstream* ofs,
221 const char dir =
'x',
222 const int precision = 10);
3 elements vector
Definition vector3.h:22
Definition cal_pLpR.h:161
std::unique_ptr< TwoCenterIntegrator > calculator_
Definition cal_pLpR.h:199
ModuleBase::SphericalBesselTransformer sbt_
Definition cal_pLpR.h:201
std::unique_ptr< Grid_Driver > neighbor_searcher_
Definition cal_pLpR.h:206
void kernel(std::ofstream *ofs, const UnitCell &ucell, const char dir='x', const int precision=10)
calculate the <phi_i|Lx/Ly/Lz|phi_j> matrix elements. Due to the large size of the matrix,...
Definition cal_pLpR.cpp:168
std::ofstream * ofs_
Definition cal_pLpR.h:197
~AngularMomentumCalculator()=default
std::unique_ptr< RadialCollection > orb_
Definition cal_pLpR.h:203
AngularMomentumCalculator()=delete
This class has two functions: restart psi from the previous calculation, and write psi to the disk.
Definition cal_dos.h:9
std::complex< double > cal_LyijR(const std::unique_ptr< TwoCenterIntegrator > &calculator, const int it, const int ia, const int il, const int iz, const int im, const int jt, const int ja, const int jl, const int jz, const int jm, const ModuleBase::Vector3< double > &vR)
calculate the <phi_i|Ly|phi_j> matrix elements, in which the Lz are the angular momentum operators,...
Definition cal_pLpR.cpp:46
std::complex< double > cal_LxijR(const std::unique_ptr< TwoCenterIntegrator > &calculator, const int it, const int ia, const int il, const int iz, const int im, const int jt, const int ja, const int jl, const int jz, const int jm, const ModuleBase::Vector3< double > &vR)
calculate the <phi_i|Lx|phi_j> matrix elements, in which the Lz are the angular momentum operators,...
Definition cal_pLpR.cpp:69
std::complex< double > cal_LzijR(const std::unique_ptr< TwoCenterIntegrator > &calculator, const int it, const int ia, const int il, const int iz, const int mi, const int jt, const int ja, const int jl, const int jz, const int mj, const ModuleBase::Vector3< double > &vR)
calculate the <phi_i|Lz|phi_j> matrix elements, in which the Lz are the angular momentum operators,...
Definition cal_pLpR.cpp:35
void calculate()
Definition main.cpp:24