|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
Post-processing of DFT+U force and stress (MPI reduce + scaling). More...
#include "dftu_nao_fs_r.h"#include "source_base/parallel_reduce.h"#include "source_cell/unitcell.h"Namespaces | |
| namespace | DFTU_LCAO |
Functions | |
| void | DFTU_LCAO::reduce_force_impl (ModuleBase::matrix &force, int nspin) |
| Post-process force: MPI Allreduce and spin-degeneracy scaling. | |
| void | DFTU_LCAO::reduce_stress_impl (const UnitCell *ucell, const std::vector< double > &stress_tmp, ModuleBase::matrix &stress) |
| Post-process stress: MPI Allreduce and renormalization to full 3x3 tensor from Voigt-like 6-component form. | |
Post-processing of DFT+U force and stress (MPI reduce + scaling).
These functions are separated from dftu_nao_fs_r.cpp to keep the link closure minimal for unit testing.