#include <operator_ri_hartree.h>
|
| | OperatorRIHartree (const UnitCell &ucell, const int &naos, const int &nocc, const int &nvirt, const psi::Psi< T > &psi_ks_in, const TLRI< TR > &Cs_ao, const TLRI< TR > &Vs) |
| | ~OperatorRIHartree () |
| void | act (const int nbands, const int nbasis, const int npol, const T *psi_in, T *hpsi, const int ngk_ik=0, const bool is_first_node=false) const override |
| | Operator () |
| virtual | ~Operator () |
| virtual hpsi_info | hPsi (hpsi_info &input) const |
| | Core hot-path: compute H|psi> by traversing the operator chain.
|
| virtual void | init (const int ik_in) |
| virtual void | add (Operator *next) |
| virtual int | get_ik () const |
| virtual void | act (const psi::Psi< T, Device > &psi_in, psi::Psi< T, Device > &psi_out, const int nbands) const |
| int | get_act_type () const |
| calculation_type | get_cal_type () const |
◆ TR
◆ OperatorRIHartree()
◆ ~OperatorRIHartree()
◆ act()
| void RI_Benchmark::OperatorRIHartree< T >::act |
( |
const int | nbands, |
|
|
const int | nbasis, |
|
|
const int | npol, |
|
|
const T * | tmpsi_in, |
|
|
T * | tmhpsi, |
|
|
const int | ngk_ik = 0, |
|
|
const bool | is_first_node = false ) const |
|
inlineoverridevirtual |
do operation : |hpsi_choosed> = V|psi_choosed> V is the target operator act on choosed psi, the consequence should be added to choosed hpsi interface type 1: pointer-only (default)
- Note
- PW: nbasis = max_npw * npol, nbands = nband * npol, npol = npol. Strange but PAY ATTENTION!!!
Reimplemented from hamilt::Operator< T, Device >.
◆ Cs_ao
◆ Cs_ov_mo
◆ Cs_vo_mo
◆ CV_ov
◆ CV_vo
◆ naos
◆ nocc
◆ npairs
◆ nvirt
◆ psi_ks
◆ Vs
The documentation for this class was generated from the following file:
- /home/runner/work/abacus-develop/abacus-develop/source/source_lcao/module_lr/ri_benchmark/operator_ri_hartree.h