void cal_for_IJR_nao_r(const int &iat1, const int &iat2, const Parallel_Orbitals *pv, const std::unordered_map< int, std::vector< double > > &nlm1_all, const std::unordered_map< int, std::vector< double > > &nlm2_all, const std::vector< double > &pot_onsite_in, const hamilt::BaseMatrix< double > **dmR_pointer, const int nspin, double *force1, double *force2)
Compute DFT+U force contribution from a single atom pair (I,J,R) in real space.
Definition dftu_nao_for_r.cpp:12