ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
hamilt::OperatorPW< T, Device > Class Template Reference

#include <op_pw.h>

Inheritance diagram for hamilt::OperatorPW< T, Device >:
Collaboration diagram for hamilt::OperatorPW< T, Device >:

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

Constructor & Destructor Documentation

◆ ~OperatorPW()

template<typename T, typename Device>
OperatorPW::~OperatorPW ( )
virtual

Member Data Documentation

◆ classname

template<typename T, typename Device = base_device::DEVICE_CPU>
std::string hamilt::OperatorPW< T, Device >::classname = ""

The documentation for this class was generated from the following files: