|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
DFT+U stress contribution from a single atom pair (I,J,R) in real space. More...
#include "source_basis/module_ao/parallel_orbitals.h"#include "source_base/vector3.h"#include "source_hamilt/module_hcontainer/hcontainer.h"#include <unordered_map>#include <vector>Go to the source code of this file.
Namespaces | |
| namespace | DFTU_LCAO |
Functions | |
| void | DFTU_LCAO::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. | |
DFT+U stress contribution from a single atom pair (I,J,R) in real space.
Per-pair kernel invoked by the unified entry cal_fs_nao_r (dftu_nao_fs_r.h). Naming convention: _r suffix denotes the real-space implementation, corresponding to _k for the k-space (legacy) one.