ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
dftu_nao_str_r.h
Go to the documentation of this file.
1#ifndef DFTU_NAO_STR_R_H
2#define DFTU_NAO_STR_R_H
3
10
12#include "source_base/vector3.h"
14
15#include <unordered_map>
16#include <vector>
17
18namespace DFTU_LCAO
19{
20
53void cal_str_IJR_nao_r(const int& iat1,
54 const int& iat2,
55 const Parallel_Orbitals* pv,
56 const std::unordered_map<int, std::vector<double>>& nlm1_all,
57 const std::unordered_map<int, std::vector<double>>& nlm2_all,
58 const std::vector<double>& pot_onsite_in,
59 const hamilt::BaseMatrix<double>** dmR_pointer,
60 const int nspin,
61 const ModuleBase::Vector3<double>& dis1,
62 const ModuleBase::Vector3<double>& dis2,
63 double* stress);
64
65} // namespace DFTU_LCAO
66
67#endif // DFTU_NAO_STR_R_H
Definition dftu_nao_adj.cpp:14
void cal_str_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, const ModuleBase::Vector3< double > &dis1, const ModuleBase::Vector3< double > &dis2, double *stress)
Compute DFT+U stress contribution from a single atom pair (I,J,R) in real space.
Definition dftu_nao_str_r.cpp:12