|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
Public Member Functions | |
| virtual void | 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 override |
| Public Member Functions inherited from hamilt::Operator< T, Device > | |
| 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 |
| int | get_act_type () const |
| calculation_type | get_cal_type () const |
Additional Inherited Members | |
| Public Types inherited from hamilt::Operator< T, Device > | |
| typedef std::tuple< const psi::Psi< T, Device > *, const psi::Range, T * > | hpsi_info |
| input type of hPsi: (psi_input, range, hpsi_pointer) | |
| Public Attributes inherited from hamilt::Operator< T, Device > | |
| Operator * | next_op |
| interface type 3: return a Psi-type HPsi | |
| Protected Types inherited from hamilt::Operator< T, Device > | |
| using | set_memory_op |
| Protected Member Functions inherited from hamilt::Operator< T, Device > | |
| T * | get_hpsi (const hpsi_info &info) const |
| Protected Attributes inherited from hamilt::Operator< T, Device > | |
| int | ik |
| int | act_type |
| determine which act() interface would be called in hPsi() | |
| bool | in_place |
| enum calculation_type | cal_type |
| Operator * | next_sub_op |
| bool | is_first_node |
| psi::Psi< T, Device > * | hpsi |
| Device * | ctx |
|
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)
Reimplemented from hamilt::Operator< T, Device >.