ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
dftu_nao_for_r.h
Go to the documentation of this file.
1#ifndef DFTU_NAO_FOR_R_H
2#define DFTU_NAO_FOR_R_H
3
10
13
14#include <unordered_map>
15#include <vector>
16
17namespace DFTU_LCAO
18{
19
55void cal_for_IJR_nao_r(const int& iat1,
56 const int& iat2,
57 const Parallel_Orbitals* pv,
58 const std::unordered_map<int, std::vector<double>>& nlm1_all,
59 const std::unordered_map<int, std::vector<double>>& nlm2_all,
60 const std::vector<double>& pot_onsite_in,
61 const hamilt::BaseMatrix<double>** dmR_pointer,
62 const int nspin,
63 double* force1,
64 double* force2);
65
66} // namespace DFTU_LCAO
67
68#endif // DFTU_NAO_FOR_R_H
Definition dftu_nao_adj.cpp:14
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