|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
Immutable shared environment for the DFT+U force/stress kernels. More...
#include <dftu_nao_fs_k.h>
Public Member Functions | |
| DftuFsEnv (Plus_U_Base &dftu, const UnitCell &ucell, const Grid_Driver &gd, const Parallel_Orbitals &pv, ForceStressArrays &fsr, const std::vector< double > &orb_cutoff, const std::string &ks_solver) | |
| Plus_U_Base & | dftu () const |
| DFT+U state; the onsite-potential builders take it non-const. | |
| const UnitCell & | ucell () const |
| const Grid_Driver & | gd () const |
| const Parallel_Orbitals & | pv () const |
| ForceStressArrays & | fsr () const |
| Folded dS/dH matrix arrays; buffers are filled by the caller. | |
| const std::vector< double > & | orb_cutoff () const |
| const std::string & | ks_solver () const |
| int | npol () const |
Private Attributes | |
| Plus_U_Base * | dftu_ |
| const UnitCell * | ucell_ |
| const Grid_Driver * | gd_ |
| const Parallel_Orbitals * | pv_ |
| ForceStressArrays * | fsr_ |
| const std::vector< double > * | orb_cutoff_ |
| std::string | ks_solver_ |
Immutable shared environment for the DFT+U force/stress kernels.
Bundles the system objects (unit cell, neighbor grid, orbital parallelization, folded-matrix arrays and DFT+U state) together with the scalar configuration (orbital cutoffs, ks_solver name and spinor count) that stays constant for one force/stress calculation. It holds no per-k-point data: density matrices, k vectors and output matrices remain explicit function arguments.
|
inline |
|
inline |
DFT+U state; the onsite-potential builders take it non-const.
|
inline |
Folded dS/dH matrix arrays; buffers are filled by the caller.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |