ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
dftu_nao_str_r.cpp File Reference

DFT+U stress calculation in real space (r-space) - implementation. More...

#include "dftu_nao_str_r.h"
#include "source_base/timer.h"
Include dependency graph for dftu_nao_str_r.cpp:

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.

Detailed Description

DFT+U stress calculation in real space (r-space) - implementation.

See dftu_nao_str_r.h for the mathematical formula and detailed documentation.