|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include <op_pw.h>
Public Member Functions | |
| virtual | ~OperatorPW () |
| Public Member Functions inherited from hamilt::Operator< T, base_device::DEVICE_CPU > | |
| 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 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 |
| int | get_act_type () const |
| calculation_type | get_cal_type () const |
Public Attributes | |
| std::string | classname = "" |
| Public Attributes inherited from hamilt::Operator< T, base_device::DEVICE_CPU > | |
| Operator * | next_op |
| interface type 3: return a Psi-type HPsi | |
Additional Inherited Members | |
| Public Types inherited from hamilt::Operator< T, base_device::DEVICE_CPU > | |
| typedef std::tuple< const psi::Psi< T, base_device::DEVICE_CPU > *, const psi::Range, T * > | hpsi_info |
| input type of hPsi: (psi_input, range, hpsi_pointer) | |
| Protected Types inherited from hamilt::Operator< T, base_device::DEVICE_CPU > | |
| using | set_memory_op |
| Protected Member Functions inherited from hamilt::Operator< T, base_device::DEVICE_CPU > | |
| T * | get_hpsi (const hpsi_info &info) const |
| Protected Attributes inherited from hamilt::Operator< T, base_device::DEVICE_CPU > | |
| 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, base_device::DEVICE_CPU > * | hpsi |
| base_device::DEVICE_CPU * | ctx |
|
virtual |
| std::string hamilt::OperatorPW< T, Device >::classname = "" |