|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
DFT+U force and stress unified entry in real space (r-space) - implementation. More...
#include "dftu_nao_fs_r.h"#include "dftu_nao_for_r.h"#include "dftu_nao_str_r.h"#include "dftu_nao_op.h"#include "dftu_nao_pots.h"#include "source_basis/module_nao/two_center_integrator.h"#include "source_pw/module_pwdft/dftu_base.h"#include "source_base/parallel_reduce.h"#include "source_base/timer.h"#include "source_cell/unitcell.h"#include "source_hamilt/module_hcontainer/hcontainer.h"#include "source_cell/module_neighbor/sltk_atom_arrange.h"Namespaces | |
| namespace | DFTU_LCAO |
Functions | |
| void | DFTU_LCAO::cal_fs_nao_r_impl (const UnitCell *ucell, Plus_U_Base *dftu, const TwoCenterIntegrator *intor, int nspin, const std::vector< AdjacentAtomInfo > &adjs_all, const std::vector< const hamilt::HContainer< double > * > &dmR, bool cal_force, bool cal_stress, ModuleBase::matrix &force, ModuleBase::matrix &stress) |
| Non-template core of DFT+U force/stress in real space. | |
| void | DFTU_LCAO::cal_fs_nao_r (const UnitCell *ucell, Plus_U_Base *dftu, const TwoCenterIntegrator *intor, int nspin, const std::vector< AdjacentAtomInfo > &adjs_all, const std::vector< const hamilt::HContainer< double > * > &dmR, bool cal_force, bool cal_stress, ModuleBase::matrix &force, ModuleBase::matrix &stress) |
| Calculate DFT+U force and stress in real space from explicit environment arguments (non-template overload). | |
DFT+U force and stress unified entry in real space (r-space) - implementation.
See dftu_nao_fs_r.h for the mathematical formula and detailed documentation.